- This topic has 1 reply, 2 voices, and was last updated 8 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Testing Discussions › Selenium IDE question
Hi Everyone,
I’ve started to play around with Selenium IDE for the first time and just need a little advice.
In my test suite – I have over 200 Test cases. Is it possible to change one value eg. id=’answer1′ changed to id=”answer3′ throughout all the test cases. It is possible to do manually when viewing the source – then copy & paste to each test script. Is there a way to automate this,
Any advice or guidance would be much appreciated.
Thanks,
Jags
Hi Jags,
can you explain a bit further please? I’m not 100% clear on your scenario
From the sounds of it you should have a variable containing ‘answer1’ or whatever you want to answer to be in all cases.
desired_result = ‘answer1’
id = ${desired_result}
Then you just need to change the value of desired_result to ‘answer3’ and it will apply everywhere you have that variable.
I hope that helps but I may have misunderstood your question
*I’m not sure what language you’re working with so please address syntax!