Hi Guyz,
set myp=Browser("title:=.*").window("text:=Search Last Name
for.*","index:=0").page("title:=.*") <---- this works fine
*consider this :*
Browser("title:=.*").window("text:=Search Last Name
for.*","index:=0").page("title:=.*")
is stored in excel file column and i read the value using
var=datatable.value("cloumn","sheet")
and then try to create an object using that stored value
set myobj=var
i get error
*Note: the browser information is dynamic so every time it will have
a different hierarchy. that's why i want to place that into my excel sheet
and pass it with every step.*
when i read the value of variable var it displays like this
"Browser(""title:=.*"").window(""text:=Search Last Name
for.*"","index:=0"").page(""title:=.*"") "
since it is a string so it display double quote in the start and at the end.
notice that double quotes before and title is replace automatically with 2x
double quotes.
and i get error that object required.
thanks
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.