Is the webelement on the page, you want to click, has this element "text"
property set to "example"
Try this line too, to check this
MsgBox(Browser(“browser”).Page(“page”).WebElement(“elementName”).GetROProperty("text"))
Is this "example"??
On Sat, May 21, 2011 at 5:59 PM, avinash vl <[email protected]> wrote:
>
> Hi,
>
>
>
> I’m using shared repositories and on many cases I’m assigning runtime
> values to these objects. But it fails.
>
>
>
> By using the SetToProperty I am assigning the text “*example*” to and
> webElement.
>
> Browser(“browser”).Page(“page”).WebElement(“elementName”).SetToProperty
> “text”, example
>
>
>
> Now I’m trying to click on that webElement
> Browser(“browser”).Page(“page”).WebElement(“elementName”).Click
>
>
>
>
>
> Please advice
>
>
> --
> Regards,
> Avinash
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en