Display results as :

Rechercher Advanced Search

Latest topics
» Run automated selenium test scripts from JIRA ondemand
Fri Dec 08, 2017 12:40 pm by azharuddin

» New! Appium Desktop
Sat Nov 25, 2017 3:51 pm by azharuddin

» 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


Determining a users dynamic id

View previous topic View next topic Go down

Determining a users dynamic id

Post by mrentz on Sun Dec 12, 2010 9:48 am

Hi all

I've read quite a few forum topics and I have always managed to stumble across something that will get my problem solved.
But this time I'm going to register and sign in and write up a query.

I'm a bit of a newbie and to testing in general, so you can imagine how relieved I was to come across Selenium.

I am testing a production app with the production database.
I create a new user and I have to test links like

these are all paths from href links stored in a table.

the actual html source looks like:

Your RTO
Admin B

After the test I have to delete the user

Obviously, every time I run the test I'm going to get a different number and it will have a different table row number.
At this stage the tests I have recorded using Selenium IDE are useless the moment the user it creates is on a different row to the one that I made when I recorded the initial test.

Surely a tool as powerful as Selenium can manage this... I have looked at "storeAttribute" but I can't see how to use it anywhere. Or even if it is the appropriate construct.

I feel like I should have found an existing answer. (If so then maybe I have just been working too late ? Smile

Cheers and looking forward to my first ever reply from a forum post (Query, that is).


Posts : 1
Join date : 2010-12-12

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