Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» 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

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to test GUI if ids are changing after form is reloaded (implementation of security)

View previous topic View next topic Go down

How to test GUI if ids are changing after form is reloaded (implementation of security)

Post by varis.auzins@gmail.com on Fri Apr 05, 2013 8:18 pm

Hi,

How to test GUI if element ids are changing after form is reloaded (reason of changing ids is implementation of security)

E.g. Initially Element id=ui_176 is recorded as test case code.
After GUI form is reloaded and I run the test case the same GUI element has Element id=ui_144.
And in log I am getting error [error] Element id=aui_3_2_0_1176 not found.


varis.auzins@gmail.com

Posts : 1
Join date : 2013-04-05

Back to top Go down

Re: How to test GUI if ids are changing after form is reloaded (implementation of security)

Post by rohit13 on Thu Apr 11, 2013 1:54 pm

You can use starts-with as code is changing after ui_
Below is sample locator for your reference

//button[starts-with(@id, 'ui_')]

_________________
Radical QA
http://radical-qa.blogspot.in/
avatar
rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA

http://radical-qa.blogspot.in/

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