Hi,
I am new to QTP and vb.script.How to start to write
vb.script in QTP? Please give me suggestions?
Answers were Sorted based on User's Feedback
Answer / kondalu
for example: calculator(table as form1) boxes in editbox as
the value1 and value2 and result,buttons as the
add,sub,mul,divide ,clear this in application vbscript
given bellow
vbwindow("form1").Vbedit("value1").set "10"
vbwindow("form1").vbedit("value2").set "20"
vbwindow("form1").vbbutton("add").click
vbwindow("form1").vbbutton("sub").click
vbwindow("form1").vbbutton("mul").click
vbwindow("form1").vbbutton("divide").click
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / satyanarayana
Hi dear it is very easy to write vb scripting.
First of all we have to understand what the actions to be
performed by us on the application.
Actions means entering a value or clicking a button or
selecting a value from a list dropdown list or selecting or
deselecting a check box.
example for a edit box
Browser("browsername").Page("pagename").Webedit("username").set"satyanarayana"
like the above for buttons .click
for list boxes .select"satyanarayana"
for radio buttons .set
for check boxes .set"on/off"
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / geena
Do record and play. U will understand how the script
appear. Then try.
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
What is Version control?
Does QTP record on Objects created on XWindows Environment?
Whats the realtime QTP testing process
I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime
How can we use the "CreateObject("Wscript.Shell")" in QTP and what is the definition and purpose of it?
What are Add-ins availble in licensed version QTP8.2
How Qtp will identifies object during run time
How can you pass value one action to another action?
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?
What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?