If u r using descriptive programming to identify the object
where do u write the script for those objects? do u write
it in the expertview? plz do answer its urgent thanks
advance.
Answers were Sorted based on User's Feedback
Answer / aparna
Yes u can write in the expert view like this:
Browser("Browser").Page("Page").WebEdit("Name:=txt_Name","html
tag:=INPUT").set "Test"
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / krishan kant sharma
You need to write script in Expert Mode.
For example you want to click on one button available on
Calculator:
' Open Calculator
Systemutil.Run "Calc"
'Click on Button 1-simplest code
Window("text:=Calculator").winbutton("text:=1").Click
'Close Calculator
systemutil.CloseDescendentProcesses
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jas
No you cant write the descriptive programming in expert
view. Descriptive programming is written in keyword view
only
| Is This Answer Correct ? | 1 Yes | 8 No |
Which version of QTP is using by companies nowadays?
if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?
My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.
if devloper change only button names in present build then script will execute or not , why? Only gui changed.......
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.
HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.
What are the different types of action?
Explain about Table and DB Checkpoints?
A dialog is diplays " Transaction 254689 has been successfully completed" How to get the transaction ID from the message ?
Can we record a video in qtp recording??
How will you enchance the script?
Can the user toggle between using Local OR and shared OR for the same action?