• Author
  • #8604

    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.



    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!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.