09-05-2012, 12:23 PM
Hi,
Im facing this kind of problem. Have in one radiobuttons group list of four radiobuttons.
A, B, C, D. Problem is that any of this product not every time exist (due setting of clients before). Every time when I get to this page with radiobuttons first one is selected.
Problem: I need check if eg. C exist and then select him and continue wizard. THis will continue until all available wizard will be finished. (hope this is clear)
What I have now is
But if you need check eg if exist B, you will have result false, becouse A is selected so results is A
Eny help, thanks a lot
Im facing this kind of problem. Have in one radiobuttons group list of four radiobuttons.
A, B, C, D. Problem is that any of this product not every time exist (due setting of clients before). Every time when I get to this page with radiobuttons first one is selected.
Problem: I need check if eg. C exist and then select him and continue wizard. THis will continue until all available wizard will be finished. (hope this is clear)
What I have now is
Code:
If Browser("Some").Page("ONE").WebRadioGroup("productType").GetROProperty("value")="A" Then
Browser("Some").Page("ONE").WebRadioGroup("productType").Select "A"
End if
But if you need check eg if exist B, you will have result false, becouse A is selected so results is A
Eny help, thanks a lot