Hi,
I am new to QTP and vb.script.How to start to write
vb.script in QTP? Please give me suggestions?
Answer Posted / 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 |
Post New Answer View All Answers
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Explain the use of action split in qtp?
How will you compare keyword and expert view?
How to replay a script in qtp?
how to post xml data from QTP scripts to any application?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
What is the extension of qtp local repository?
Is it possible to change the property value at runtime? How it is possible?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
What is the difference in the global and action sheet in qtp?
Generic function to search for the unique link in webtable and click on it