Answer Posted / venkat reddy
What Neeraj said is correct , but i willb try to give more
clear on this,
Dim str
Exp="Don't have a Windows Live ID?"
Act=Browser("Sign In").Page("Sign In").WebElement("Don't
have
a Windows Live").GetROProperty("innertext")= "Don't have a
Windows Live ID?"
if(Exp==Act) then
msgbox "We are sucessfull"
else
msgbox "We are not sucessfull"
End If
Byeeeeeee
correct me if i am wrong...
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
what type of framework u r using in ur organization
when to start the automation?
What is the basic concept of quicktest professional (qtp)?
How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
Can U Explain about QTP tool from older version to latest version also its differences?
What are parameterizing tests?
How to test background color and dynamic images during run time can you put the check point for moving objects?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
What is the difference between the keyword view and expert view?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
what is the difference between the modular framework and datadriven frame work
what is error and fault in terms of software quality?