selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Missing commands

Open lcsqlpete opened this issue 8 years ago • 9 comments

While converting an old Selenium test suite, I found that the following commands are not supported in the new version:

verifyLocation assertLocation storeTable verifySelectOptions verifyAttribute verifySelectedLabel assertXPathCount

It's possible there are equivalent commands with different names but if not, please add these.

Pete

lcsqlpete avatar May 06 '18 18:05 lcsqlpete

Please check that you do not repost commands, as they may cause confusion to contributors:

  • verifySelectedLabel #160

corevo avatar May 07 '18 08:05 corevo

Been looking and haven't seen fireEvent listed anywhere.

hohnan avatar May 24 '18 20:05 hohnan

I do not find verifyTextPresent as well

cinnest avatar Jul 11 '18 13:07 cinnest

Another vote for needing verifyLocation here. Is it sufficient to have these all in one issue or should they be added separately?

ghost avatar Jan 24 '19 20:01 ghost

Anything we can use as an alternative to "fireEvent||blur"?

98gmarquee avatar Apr 04 '19 17:04 98gmarquee

fire event will not come back as it is not a webdriver command.

Use mouse out instead.

corevo avatar Apr 05 '19 05:04 corevo

fire event will not come back as it is not a webdriver command.

Use mouse out instead.

I'll try that. Thanks!

How about "wait for selected"? I have some js pages that populate the country/state in drop downs and would like to be able to wait until those render after keying zipcode. Fought with it for an hour yesterday... lol!

98gmarquee avatar Apr 05 '19 22:04 98gmarquee

mouse out isn't working... type doesn't work, send keys doesn't work, click at... it's frustrating.

98gmarquee avatar Apr 10 '19 17:04 98gmarquee

Think I figured a work around for my lack of "fireEvent||blur" issue... it's dumb, but seems to work in firefox and chrome.

I do the following:

type|zipcode_text|60606
execute script|return document.getElementById("zipcode_text").focus();|
execute script|return document.getElementById("zipcode_text").blur();|
execute script|return document.getElementById("phone_numb_text").focus();|
execute script|return document.getElementById("phone_numb_text").blur();|

It the triggers the blur on the zipcode and fires the loading of city/state/phone_area_code

For chrome, just the two focus commands were needed. For firefox, all 4 commands were needed.

All 4 commands work fine in chrome as well, so I don't need 2 scripts.

98gmarquee avatar Apr 11 '19 22:04 98gmarquee