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?
Answers were Sorted based on User's Feedback
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 |
Answer / sandipgami84
index is not a reliable way......if have entered valid
username & Password then u can check URL...or check Inbox
link is exist or not.....
Sandip
9714177088
Is This Answer Correct ? | 0 Yes | 2 No |
can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out put i need INDIA help me it's really need full ..
Among all the check points what is the most important checkpoint?
Explain the differences between table and db checkpoints?
how do you do database testing in qtp
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
It is regarding VBScript, how to export our function results to ExcelSheet through VBscripting. Ex: I have written add function, that result should export to Excel.
How can we change(increase or decrease)the size of a array variable with out loosing the previous values
1 Answers DST Global Solutions,
How do client side image and server side image work?
With what extension you can save the list of tests in a file to run in test batch runner?
how to get the object property
Explain the Load testing process?