Explain about opening notepad in QTP and writing of test
result in notepad?
Answer Posted / narendrababu
In qtp directly we con't open notepad.so,create an object
first(fso),through this obj we can access notepad.
to create an obj
set fso =create object(scripting.filesystem object)
set x= fso.opentextfile()
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
can anyone tell me from where i can download qtp demo or crack version
What are table and db checkpoints?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Can we run multiple QTP scripts one after the other without manual intervention? How?
Explain the concept of object repository and how QTP recognizes 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
How many types of actions are there in quicktest professional (qtp)?
What is the latest version of qtp?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
whare exactly we have to use functions and sub routain
Explain how you can replace string in qtp?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
How will internal and external links be validated and updated? how often?
What are the different types of recording modes?