Comments on: Handling Dynamic Elements in Selenium WebDriver /handling-dynamic-elements-in-selenium-webdriver/ TesterLogic Sat, 24 Feb 2018 11:44:00 +0000 hourly 1 https://wordpress.org/?v=4.9.13 By: Ravindra Gilaka /handling-dynamic-elements-in-selenium-webdriver/#comment-74 Sat, 24 Feb 2018 11:44:00 +0000 /?p=553#comment-74 Hiii anyone tell me xpath of dynamically changing Object shown bellow

]]>
By: Inzmam Ul Haq /handling-dynamic-elements-in-selenium-webdriver/#comment-61 Wed, 29 Mar 2017 06:26:00 +0000 /?p=553#comment-61 Hi Aditya,

You can use following approach to count generated dynamic id in page:

.//*[starts-with(@id, ‘ResOutBound’)]

]]>
By: Selenium dynamic elements solution – Site Title /handling-dynamic-elements-in-selenium-webdriver/#comment-59 Tue, 28 Feb 2017 13:08:13 +0000 /?p=553#comment-59 […] /handling-dynamic-elements-in-selenium-webdriver/ […]

]]>
By: saikrishnap /handling-dynamic-elements-in-selenium-webdriver/#comment-58 Sat, 04 Feb 2017 13:08:00 +0000 /?p=553#comment-58 Hi Arif.
I’ve a webelement which changes everytime page loads. Initially the element would be having rel. xpath as //section/div………div/a. some times the xpath changes to //section/div………div. can you please provide an approach to handle these type of elements.

Thanks,
Sai

]]>
By: Vignesh S. Kumar /handling-dynamic-elements-in-selenium-webdriver/#comment-57 Sat, 04 Feb 2017 07:10:00 +0000 /?p=553#comment-57 Easy to Learn.i read your post and quite is easy understand.tThanks for sharing

]]>
By: aditya dubey /handling-dynamic-elements-in-selenium-webdriver/#comment-56 Sun, 20 Nov 2016 17:42:00 +0000 /?p=553#comment-56 Hi there, I am new in selenium se driver automation and I am trying to find the count of dynamic created id’s . The id generated on same page is ResOutBound_0 ,ResOutBound_1 ,etc… . Please let me know how can I count ,so I will know number of results

]]>
By: varun /handling-dynamic-elements-in-selenium-webdriver/#comment-55 Tue, 02 Aug 2016 09:09:00 +0000 /?p=553#comment-55 Hi Arif,

I have a gxt grid in a page where I don’t how many rows will be there in that grid I want to automate that page using selenium ,since I don’t know the how many grid rows are there so i cannot have selenium scripts available for that rows.Please help me how to solve this.

]]>
By: Mohamed Irfan /handling-dynamic-elements-in-selenium-webdriver/#comment-54 Mon, 18 Jul 2016 15:21:00 +0000 /?p=553#comment-54 Hi Arif, I need some other solution to find web element..???

I can able to handle dynamic web elements using xpath but sometimes matching node is only one that I was tested and evaluate manually in firefox browser but that tested web element not able to locate while running the auto test..???

]]>
By: Arif Masood /handling-dynamic-elements-in-selenium-webdriver/#comment-48 Sun, 30 Aug 2015 13:40:00 +0000 /?p=553#comment-48 If the preceding text is stable or there is any stable element nearby then you can use them to create a locator. Do try Selenium IDE or Selenium Builder by SauceLabs and see what locator they generate for these elements. You may be able to see identify a pattern in those locators. Once you find a pattern you can create your own logic to use that.

]]>
By: QA Test /handling-dynamic-elements-in-selenium-webdriver/#comment-45 Wed, 03 Jun 2015 06:55:00 +0000 /?p=553#comment-45 Hi Arif,

I read your post and it’s quite useful.

What if the link text is dynamic
For Example, <
0>
Here 0 is dynamic and can be changed for different users. I’m using data-driven approach using excel to get input. Can you help me create a loctaor for this.
Thanks

]]>