What is diffrence between Global variables and Environment
variables...Anybody can give me answer..Thanks in advance..
Answer Posted / mns
Its one and the same thing. In other scripting languages,
we call global variables and in QTP, its called environment
variables.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is quick test pro?
What is keyword view?
Why qtp always start action1 and does not start action?
How to get Traceability matrix from TD?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Explain xml checkpoints.
write the vb script for call to new action in qtp?
What are the different attributes used with regular expression?
how to know no.of mails in our g mail by using vb-script
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
What does mean by Scope of Automation?n How we defined it?
How to execute a winrunner script in quicktest professional?
explain keyword driven framework with banking domain?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
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