Geeks Talk

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.

Not able to set value in the datafilter drop down

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. ====== ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-28-2007
Junior Member
 
Join Date: Mar 2007
Location: Kolkata
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
chiranjib S is on a distinguished road
Question Not able to set value in the datafilter drop down

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
  #2 (permalink)  
Old 04-30-2007
Expert Member
 
Join Date: Apr 2007
Location: Kolkata
Posts: 151
Thanks: 3
Thanked 11 Times in 10 Posts
debleena23 is on a distinguished road
Re: Not able to set value in the datafilter drop down

Can you plzzzzz put the code with line breaks. Its very difficult to understand this code
  #3 (permalink)  
Old 04-30-2007
Junior Member
 
Join Date: Mar 2007
Location: Kolkata
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
chiranjib S is on a distinguished road
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.
  #4 (permalink)  
Old 04-30-2007
Expert Member
 
Join Date: Apr 2007
Location: Kolkata
Posts: 151
Thanks: 3
Thanked 11 Times in 10 Posts
debleena23 is on a distinguished road
Re: Not able to set value in the datafilter drop down

Fine. No problem.
Closed Thread

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 05:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved