How to Dynamically select a Webcheckbox in a web page
There is one web page which contains may check boxes. If the user selects any one check box and click on "NEXT" user is being directed to the next page which also contains web check boxes. The check boxes in the page 2 are dependent on the selection made in the page 1
The web checkboxes are not in a web table.
Is it possible to set a Checkbox ON by using a dynamically changing HTML ID..? I mean by assigning a dynamic HTML ID can a checkbox be selected..?
static way of selecting a web checkbox .webcheckbox("class:=form-checkbox","html id:=10").Set "ON"
Dynamically selecting a checkbox h=10
.webcheckbox("class:=form-checkbox","html id:=&h").Set "ON"
I think Mark was asking if there is a relationship that you can see for the second page check boxes properties/html to the check box in first page.
BTW how you have planned to get the dynamic html id that is generated? I dont think there should be a prob as long as you are able to grab the object properties during run time.
So I didnt get exactly what you are looking for? is it like how to get that dynamic html id?
Also please post the html's of first and second page - would be easy to look and post our thoughts.
Yes Chikki. I agree that it is quite easy. At the same time i have started learning the UFT recently for the Dynamic object properties.
Earlier i worked on static objects only. Now i started working on Dynamic Object properties