Отправляет email-рассылки с помощью сервиса Sendsay
  Все выпуски  

Как сравнить результаты HTTP Request и JDBC Request



Software-Testing.Ru - портал тестировщиков  

Новые темы форума тестировщиков


Как сравнить результаты HTTP Request и JDBC Request
2015-06-19 11:37

Доброго утречка всем. Имею сценарий в Jmeter. В результате выполнения HTTP Request(аутентификация) и JDBC Request(скрипт в БД) получаю id, который одинаковый в результате выполнения обоих.

Какую проверку добавить в сценарий, чтоб показать, что результаты HTTP Request и JDBC Request одинаковые?

Спасибо за ответ.



Test Automation Engineer (Minsk)
2015-06-19 15:04

EPAM, a leading global software engineering and IT consulting provider with 11500+ IT employees and delivery centers in 19 countries, is looking for a motivated, pro-active, and diligent Test Automation Engineer to join one of our projects in legal domain.

It’s a great opportunity for you to get experience in legal sphere, enhance your English communication skills and work with a globally renowned customer!

About the customer:

Our client is the world’s leading source of intelligent information for businesses and professionals. It combines industry expertise with innovative technology to deliver critical information to leading decision makers in the financial, legal, tax and accounting, scientific, healthcare and media markets, powered by the world’s most trusted news organization. With headquarters in New York and major operations in London and Eagan, Minnesota, our client employs more than 50,000 people in 93 countries.

Project Description:

You will get a unique chance to test an innovative case management system, which allows keeping cases moving efficiently through the court. This system provides a total court solution by integrating e-filing, case management, and public access solutions with other court applications.

Requirements:

- Experience in automated testing;
- Experience using Java, WebDriver, and Cucumber (BDD);
- Experience in web services automated testing (REST API);
- Understanding of functional testing principles;
- English of at least A2+ level;
- Excellent communication skills.

Responsibilities:

- Maintenance and development of scripts using already existing framework;
- Communication with the customer on a daily basis.

We offer:

- Competitive compensation depending on experience and skills;
- Financial stability;
- Individual career path;
- Extensive social package;
- Opportunities for self-improvement: electronic libraries, seminars, and conferences;
- English classes, speaking clubs with native speakers;
- Friendly team, loyalty, and understanding;
- Flexible working schedule.

Contact: Татьяна Зубкова
Tatsiana_Zubkova@epam.com
+375 44 7491007 Skype tatsiana_zubkova1

Follow us on https://twitter.com/job_epam

Join the community https://www.facebook.com/epamby

Read more here http://vk.com/epamsystems



Метод StoreXpathCount всегда возвращает 0
2015-06-19 20:31
Не могу разобраться с методом StoreXpathCount.

Пытаюсь посчитать кол-во дочерних элементов у класса "buyer-adults".

Если использую родную функцию xpath  - count(//div[@class='buyer-adults']/div), возвращается правильное кол-во, в данном случае 2.
Но сохранить в переменную значение функции xpath, ide не может.
 
Если же я пытаюсь выполнить метод StoreXpathCount  //div[@class='buyer-adults']/div, считать ide элементы отказывается и возвращает 0.
 
Видимо есть какие-то тонкости в работе с ним.
Перелопатил сеть, но все что нашел, совершенно не объясняет этой загвоздки.
 
Собственно сам код:

<html id="frame-popup" class=" browser-mozilla version-38 platform-windows mozilla-38 ">
<head>
<body>
  <div id="popup" style="display: none; padding: 100px 0; width: 940px; margin: 0px auto;">
    <div id="container" style="display: none; opacity: 1;">
      <div id="logger-button" style="display: none;">
      <div id="card" data-country-id-request="40" data-offer-id-request="92130894" data-source-id-request="321963158" data-request-id-request="1216678245">
         <div id="content">
           <div class="card-head selectable">
           <div class="card-content selectable">
              <div class="column-card-left">
              <div class="column-card-right">
                <div id="tour-header">
                <div class="left-box">
                  <div id="price-checked-online" style="display:none;">Цена проверена онлайн</div>
                <div id="tour-properties-payment">
                  <br clear="all"/>
                <div class="hotel-info show">
                <div id="payment-menu" class="card">
                   <div class="tour-options">
                   <div id="form-card">
                      <form id="buying" autocomplete="off" action="javascript: void(0);">
                      <div class="buy-office-application">
                         <div class="buy-office-application-head">Покупка тура online</div>
                         <div class="buy-office-application-body">
                           <h3>Взрослые</h3>
                           <div class="buyer-adults">
                               <div class="buyer-person field-set-container" data-field-type="claim-person" data-field-name="adult-0">
                               <div class="buyer-person field-set-container" data-field-type="claim-person" data-field-name="adult-1">
                           </div>
                           <h3>Информация о заказчике</h3>
                           <div id="buyer-info">
                           <h3>Комментарий</h3>
                           <label class="buyer-comment field-container"> 
                           <div id="payment-options"/>
                         </div>
                     <div class="buy-office-application-footer">
                     <div class="order-successfully-created" style="display: none">
                   </div>
                 </form>
               </div>
             <div id="form-order">
           </div>
      </div>
    </div>
     </div>
    <a class="popup-close" href="javascript: void(0);"/>
</div>
<div id="datepicker"/>
</div>
</div>
</body>
</html>

Windows VS Linux — идеи багов для разных платформ
2015-06-19 23:58

В чатике наших выпускников поднялась интересная тема — какие баги зависят от платформы?

 

Я уже давно не сталкивалась с кросс-платформенными багами в самом приложении. А вы сталкивались? Поделитесь идеями багов :)

Начну со своих 5 копеек — http://okiseleva.blogspot.ru/2015/06/windows-vs-linux.html

 



Selenium Webdriver
2015-06-21 21:20

Доброго времени суток!

Только начал изучать Selenium webdriver, после установки, запустил авто-тест, тест был пройден успешно. Но в закладке Console, в самом низу появилось сообщение:

 

июнь. 21, 2015 7:55:10 PM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder

INFO: Command failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@4ef37659.
 
Пробовал гуглить ничего не нашел, может кто знает что значит, хочу разобраться.


© 2010 | Software-Testing.Ru


В избранное