If you entered into yahoo mail with your valid user name
and password , then you will get " welcome , username "
(for example you will see , “welcome, Krishna” ) text on
the top of the Inbox page , how can you test the user name
is correct or not using QTP?
Answer Posted / nanda
yeah....
you can use the getROProperty method to get that value.
later on compare that value with ur parameter.
for example:
GetAppval = Browser("XXX").Page("XXX").WebElement("html
tag:=TD","index:=3").GetROProperty("innertext")
getparam = Datatable.Value("name",dtGlobalSheet)
If GetAppval = getparam then
msgbox "pass"
Else
msgbox "fail"
End If
guys here i just given the logic to use. instead message
box use a reporter statement or if u r writing to exeternal
log use it. and i used data table for example, but many
people (including me) will use separate excel file for
parameterization. but this is the logic to check values.
Regards...
nanda.d reddy
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Without using gui map editor we can recognize the application in winrunner ?
what is the structure for the data driven framework
what is review
What ate the Technologies supported by QTP?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
images are dynamically changes how to compare two images with out using the bitmap
How to customize checkpoints with parameters?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
How do I get the QTP scripts result in xml format by using vb script function?
How to use conditional loops in qtp ?
How to creating an output value using quicktest professional (qtp)?
what kind of frame work you used in your last project?
Define object spy ?
What are table and db checkpoints?
Do you know how to connect database? Can you tell me the procedures?