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 |
what is the use of Browser.sync()
Diff B/w Webserver and Client Server
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
What are the main differences of qtp and win runner?
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method
Explain types of exception handling and script for that?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
what is regular expression how will you implement it?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
write is the code for regular expression in QTP