Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Not able to set value in the datafilter drop down within the QTP forums, part of the Software Testing category; Hi friends, i am using the following piece of code to select a value in the data filter drop down and running it in a loop for 7data filters. ====== ...
|
|||||||
|
|||
|
Hi friends, i am using the following piece of code to select a value in the data filter drop down and running it in a loop for 7data filters. ====== for intcounter = 0 to 6 strvaluefilter =trim( xlusedrange.cells(intcounter + intglobalcounter, 4).value) if strvaluefilter = "all" then browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter,"index:=" & intcounter).click else if (intcounter = 0 or intcounter =1) then browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter, "index:=" & intcounter).click else browser("leadership dashboard-").page("leadership dashboard-").webbutton("type:=button", "index:=" & intcounter ).click browser("leadership dashboard-").page("leadership dashboard-").link("name:=" & strvaluefilter , "index:= 1" ).click end if end if next ======== but after seting value in a datafilter(say 3rd one)when it's setting value to the 4th filter,the 3rd filter value is getting reset to "all" please suggest me how i can solve this. Thanks. Chiranjib.
|
| Sponsored Links |
|
|||
|
Re: Not able to set value in the datafilter drop down
Thanks debleena for ur interest in this topic.But i had posted it long ago.
I had already resolved the issue.so i guess it will hardly matter. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to drop all tables from a user | akmohanty | Oracle | 2 | 10-13-2007 05:15 AM |
| How to pick the data from the drop down list box | Livetek | QTP | 2 | 03-27-2007 03:11 AM |