How can i check elements sorted in dorpdown using qtp..
Answer / lak
1) Create an array to capture all the Weblist items - call
it as appArray
2) Sort the appArray to display all items in ascending order
For i = 0 to UBound(itemArray)
itemArray(i)
Next
- Again there is no sort function which is readily
available. You would have to code for the sorting to
something on similar lines -
for i = UBound(appArray) - 1 To 0 Step -1
for j= 0 to i
if appArray(j)>appArray(j+1) then
temp=appArray(j+1)
appArray(j+1)=appArray(j)
appArray(j)=temp
end if
next
next
3) Save this as sortedArray. Compare some of your original
appArray items to the sortedArray items in terms of
positions.
If they are different, your verification is a fail and if
an exact match, its a pass.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to use debug tools?
Hi All, I need 5 yrs exp manual and automation testing using QTP sample resume. is there any body having please send me my mail id is bjr@aol.in Tahnks in Advance
if anyone has idea of the interview procedure in covansys, plz send me a mail?
i want to learn testing tools what i have to know before.iam fresher i dnt know any this..which langagues i have to before testing.
Where you are storing your script?
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs
Give one example of Standard checkpoint in qtp 10?
Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP
Tell about automation object model(Aom) in qtp?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?
there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..