Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


How to work on pages with AJAX in selenium?

View previous topic View next topic Go down

How to work on pages with AJAX in selenium?

Post by azharuddin on Mon Sep 18, 2017 6:08 pm

Working on pages with AJAX

  • Asynchronous JavaScript and XML

  • AJAX is not a new programming language, but a new way to use 

  • existing standards.

  • AJAX is the art of exchanging data with a server, and update parts of 

  • a web page – without reloading the whole page.

  • AJAX is a technique for creating fast and dynamic web pages. 

Start Selenium IDE
Record some steps – run the script. It fails some where then,

  • Right-click on the step that failed so that the Selenium IDE context menu 

  • appears.

  • Click on Insert New Command.

  • In the Command select box, type waitForElementPresent or select it from 

  • the drop-down list.

  • In the Target box, add the target that is used in the verifyText command.

  • Run the test again, and it should pass this time

The following commands make up the waitFor set of commands, but this is not an exhaustive list:
       waitForElementNotPresent waitForTextPresent

Posts : 4
Join date : 2017-02-03
Age : 25
Location : Hyderabad

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum