Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox and Weblist
#1
Not Solved
Hello Everyone,

I created a test for IE which works just fine. It didn't work 100% in Firefox (more like 30%), so I just created a copy and modified it for Firefox. Everything is working great except for the Weblist. I have a selection box (aka Weblist) where I just select the first object. It gives me the following error:

General run error.
Line (2): ".WebList("name:=MySelect").Object.value = "1"".

Here is the code:
Code:
With Browser("title:=MyTitle.*").Page("title:=MyTitle.*").Frame("name:=MyFrame")
    .WebList("name:=MySelect").Object.value = "1"
End With

Any thoughts?
Reply
#2
Not Solved
Try using the index of item in weblist with .Select method

Code:
With Browser("title:=MyTitle.*").Page("title:=MyTitle.*").Frame("name:=MyFrame")
    .WebList("name:=MySelect").Select= "#1"
End With
does this works?

Reply
#3
Not Solved
No, it didn't seem to care for that either. Here are the options within the select:

Code:
<option value=" "> </option>
<option value="1">1 USDA FS   </option>
<option value="2">2 USDI BLM  </option>
<option value="3">3 USDI NPS  </option>
<option value="4">4 USDI BIA  </option>
<option value="5">5 STATE     </option>
<option value="6">6 LOCAL GOVT</option>
<option value="7">7 PVT/COMMRL</option>
<option value="8">8 OTH FEDERL</option>
<option value="9">9 UNKNOWN   </option>
Reply
#4
Not Solved
I have the same problem, I'm using Firefox and I try to select a weblist and I get a "General run error." I had tried using the option Object.value and .Select but both functions are not working, please if you now something about this please tell me
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,053 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  QTP add in for Firefox v34 amitseth79 1 2,241 02-12-2015, 04:04 PM
Last Post: Kirill
  QTP identifying WebList as WebEdit and an Element passion77 3 8,121 01-27-2014, 10:21 PM
Last Post: supputuri
  How to populate data in weblist using excel vijifun 1 3,063 12-05-2013, 12:06 PM
Last Post: basanth27
Exclamation IE 7 Scripts not working FireFox 3.5 shaam 3 3,397 09-04-2012, 06:28 PM
Last Post: souvikghosh_diatm

Forum Jump:


Users browsing this thread: 1 Guest(s)