Selenium IDE question

Home Forums Software Testing Discussions Selenium IDE question

This topic contains 1 reply, has 2 voices, and was last updated by  Nicholas 4 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8604

    Jags
    Participant
    @jagsingh

    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

    #8615

    Nicholas
    Participant
    @shicky

    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.