we have a link in a website or webtable How can we record
link in that table or site? link is not static we don't
know exact location of that link? how ? if u know pls give
reply with script also?
Answer Posted / naaz
Descriptive programming will solve this problem. You have
to write the property name and you can assign the dynamic
value of that property. The problem with descriptive
programming is, if you are using descriptive programming
for the top level object you have to use the descriptive
programing for the child objects also. But if you are using
it for child objects you dont neet to use for parent
objects.
Example of Descriptive Programming:
JavaWindow("title:="&Value12).Activate
here title is the Object Property. And Value12 is its
value. you can use dataTable also for the value
Example:
JavaWindow("title:="&DataTable
("Value",dtLocalSheet)).Activate
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How does quicktest professional identifies the object in the application?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
what type of run time errors you get while you ar edoing rpg program?
How you can make an action as re-usable action?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
write script for bitmap image?
What is ‘object spy’ and what is the function of object spy in qtp?
what is profile tool?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are the methods used in UFT to handle exceptions or run-time errors?
What are the different kinds of test steps?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What is quicktest professional window?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression