Forum Discussion

nimmakayala's avatar
nimmakayala
New Contributor
9 years ago

How to handle the default Radio buttons

hi,

 

We have a situation that, where we have recorded the script for the value for default radio button. 

well in future the other value will become the default, so the script will fail. So we has to validate the script that even though the default value is changed we has to capture the previous default value or check it and pass the script. So please any one let me know how to hanlde this case.  

 

Regards,

 

  • SmartBearAmber's avatar
    SmartBearAmber
    SmartBear Alumni (Retired)

    If something, such as a radio button or other navigation element necessary for the workflow of your script, changes you will need to rerecord your script with the new workflow.

    • nimmakayala's avatar
      nimmakayala
      New Contributor

      Hi,

       

      If that case, then we need to change the script oftenly. But is it possible to handle the script dynamically.

      Or do we have any options to  handle the radio button in deja click. Please help me to fix this issue.

       

      Regards,

       

      • SmartBearAmber's avatar
        SmartBearAmber
        SmartBear Alumni (Retired)

        Unfortunately, it  is not possible to change a script dynamically. DejaClick was designed to make recording quick and easy, which should allow you to rerecord your scripts on a frequent basis. You can also apend scripts, which allows you to keep most or part of a script and only change certain steps. For a demonstration of apending a script, please see this video on SmartBear's YouTube channel.