Answer Posted / rahul roy
By using this method we can report the user defined results
in results window
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is standalone database?
What is post recovery scenario?
when u script reveiwing in which area u more concentrates?
What is a data driven test in qtp?
Write a script to verify font style and color of a windows object using descriptive programming
Which environments are supported by hp qtp?
How many types of recording modes are there?
What is ‘object spy’ and what is the function of object spy in qtp?
What are the types of object repositories? Which one is you using?
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
What are the different types of checkpoints?
For which type of project the iterative model is suitable?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
what is error and fault in terms of software quality?