Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

How to simulate check-box to be enabled?

$
0
0

Hello guys,

 

I am trying to click-on a check-box which is created during scenario verification.

Here is the flow:

During a recording scenario, I add ann item which generates a row in the html and a check-box with some ID.

I click on the check-box t.a pop-up displays, which confirmation sends an e-mail- but now action is recorded in the recorder when the check-box is selected:

Screenshot_1.png

 

I extract the ID of the check-box and save it into a variable.

 

Screenshot_2.png

So when I try to verify the scenario, another row is added in thr html with different ID. I call the variable again for the new added ID of the check-box, but the send e-mail seems to be for the firstly used /recorded check-box.

 

Could someone propose any ideas on how could I simulate a clicking/selecting the appropriate check-box?

 

Kind Regards,

 

Stoyan.

 

 


Viewing all articles
Browse latest Browse all 20990

Trending Articles