Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
insensitive combo-box selection ??
#1
Solved: 11 Years, 3 Months, 3 Weeks ago Question 
Hello Friends,

In one of the test case being executed from QTP, we have to choose a value from combo box in the web page. Now, the dataset present in the test case have the same items which are present in combo-box but in different format i.e if the value present in dataset is “Double AC”, value present in combo-box is “Double Ac” and similar for most of the values.

So my query is can QTP make a insensitive search while calling weblist.Select OR weblist.ExtendSelect methods. Can this be done as presently QTP just matches the datavalue from the items present in combo-box.


Thanks in Advance
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
interesting....
looks like there is no case insensitive select.
we have a workaround... you can get the all the list values using getroproperty. put them in an array and do case insensitive comparison and get the index
we can select using the index. Browser().Page().Weblist().select "#3"

plz post if you find any other way...Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weblist selection diya 11 21,353 06-16-2015, 08:27 PM
Last Post: rajpradeep32
  Find Combo Box length? AndyBSG 3 4,041 12-05-2014, 10:02 PM
Last Post: AndyBSG
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,275 05-31-2014, 12:00 PM
Last Post: excellentpawan123
  Selection of sub menu in Windows Desktop application Shilpa859 0 2,396 10-17-2013, 06:39 PM
Last Post: Shilpa859
  Combo Box selection issue Shkumari 11 12,760 09-26-2013, 03:56 PM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)