Ask a Question

Unable to simulate ClickItem in Firefox or Edge

SOLVED
Novari-QA
Frequent Contributor

Unable to simulate ClickItem in Firefox or Edge

When I record as script, it records as clickItem("ABC"), however when replaying that action Firefox is unable to click it. However Chrome has no issue. Has anyone ever had this issue?

6 REPLIES 6
tristaanogre
Esteemed Contributor

What is the error message you get with Firefox, if any?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Novari-QA
Frequent Contributor

There is no error message. It just refuses to click it.

tristaanogre
Esteemed Contributor

Interesting... this almost sounds like a timing issue... I've seen things like this before even in IE where a component is basically "ready" to be clicked but, for whatever reason, the browser hasn't fully rendered the control in such a way that clicking on it actually works.

 

Just as an experiment... if you add a hardcoded delay of 5000 ms before you attempt the click item, what happens?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Novari-QA
Frequent Contributor

Yes I have tried that already, no dice. 
I have generated two reports as shown below. Each report has a delay(5000) before clicking on the Item in question.


The report says it is being clicked, but it isn't actually being clicked.
In the first image, this was performed with Firefox. As you can see the action was recorded as successful. But the result says other wise.  Yes manually clicking in firefox and edge work.
image.png

 

In this image below, it was performed in Chrome. The item was clicked and it is reflected by the property check as successful.

image.png

 

Here is an image of the textbox list in question

image.png

Novari-QA
Frequent Contributor

Actually my mistake, i noticed the issue. You are right it was the delay reason.

tristaanogre
Esteemed Contributor

Glad to hear it!

And double Kudos for the AWESOME doctor names... Doc Banner, Doc Oc, and Doctor Wayne... although, mixing Marvel and DC Comics COULD get you in trouble with some people... but not me. 🙂


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: