How can i select multiple items from a WebList bOX USING QTP
Answer Posted / ragupathi from syntel
Dim a,i
'Getting list box count
a=Browser().Page().Weblist(WebListName).GetItemsCount
'getting list box values
For i=0 to a-1
msgbox Browser().Page().Weblist(WebListName).GetItem
(i),4,"States"
Next
Is This Answer Correct ? | 2 Yes | 15 No |
Post New Answer View All Answers
Explain qtp(quick test professional)?
How to find the path of folder in which the test is saved in qtp?
How will you test a keyboard?
How does qtp identify gui object?
Write a script to verify font style and color of a windows object using descriptive programming
what is the advantages and disadvantages of using functions instead of re usable actions
How to check bitmap output value?
Difference between copy to action and call to action?
How software tester can use constants and variables in scripts?
By using QTP can we record any log files written by the application which is in execution?
How you create new action in qtp?
What are the key points to create a framework in QTP for oracle forms?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What is contained in the object repository?
Can we create user defined functions in qtp?