09-04-2014, 05:05 PM
(This post was last modified: 09-04-2014, 06:45 PM by anshika.agarwal.)
Hi,
I am trying to pass the variable name in the property for below:
I am using a loop here as the property name =
applicant[0].alsoAssured changes everytime when I am creating a new applicant for the same proposal so what I am doing is the following:
this is with the loop of 0 to 3.
QTP does not recognise this and throws an error "Cannot identify the object "[ WebRadioGroup ]" (of class WebRadioGroup). Verify that this object's properties match an object currently displayed in your application."
Can anyone please help how to pass the variable name.
Thanks in Advance.
I am trying to pass the variable name in the property for below:
I am using a loop here as the property name =
applicant[0].alsoAssured changes everytime when I am creating a new applicant for the same proposal so what I am doing is the following:
Code:
app = 0
.WebRadioGroup(name:=applicant["&app&"].alsoAssured")
this is with the loop of 0 to 3.
QTP does not recognise this and throws an error "Cannot identify the object "[ WebRadioGroup ]" (of class WebRadioGroup). Verify that this object's properties match an object currently displayed in your application."
Can anyone please help how to pass the variable name.
Thanks in Advance.