I have a container in the GUI I'm trying to test that is an HTML dom. With Spy I can find the text field path I'm trying to capture the value of /dom[@domain='htmlviewer.company.com']/body/table/tbody/tr/td..../input[@title~'^My\ Field\ Name']"
which I know from looking at my GUI or at Spy has a value of 1234567890.
How do I capture the value 1234567890 which could be different each time?
Do we have to create an object of type text, or inputTag in order to use a function? I'm only familiar with
using the ranorex.validate.exists and similar type methods for objects in the repository. How do you retrieve an input tag value for which validate would not apply?
how to retrieve inputtag value? (VB)
-
- Posts: 5
- Joined: Tue Jul 19, 2011 9:28 pm
Re: how to retrieve inputtag value? (VB)
Possibly answered my own question.
After adding findings from spy into repository, when in usercode in studio, am able to type
repo.webdocument
and the context help displays a drop down of the repository contents allowing me to choose the webdocument
that got populated into the repository from spy.
Then, further using the context help, was able to figure out
repo.WebDocumentHTMLviewer_company_com.SomeBodyTag.InputTagMyFieldName1.TagValue
After adding findings from spy into repository, when in usercode in studio, am able to type
repo.webdocument
and the context help displays a drop down of the repository contents allowing me to choose the webdocument
that got populated into the repository from spy.
Then, further using the context help, was able to figure out
repo.WebDocumentHTMLviewer_company_com.SomeBodyTag.InputTagMyFieldName1.TagValue