-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running old test cases / commands (old, deprecated?) #65
Comments
Eeek, that one in particular would be a problem for us; we use it all the time. Simon |
If you could upload the test cases where you use these commands that would be great. In any case, the IDE waits for elements to appear as is, it waits for the page to finish loading, and finish any active network requests, Other than that, what caused "Blocked a frame with origin "URL" from accessing a cross-origin frame."? <iframe src="https://example.com">
<input id="under-test" />
</iframe> For example trying to access |
Another thing i noticed i used comments that is currently not supported.
We have some iframes true the code like Hotjar yes! But why should this be a problem now and not without the old IDE. Will try it soon without those iframes and see if that solves our problems. Thanks!
|
I have added errors to let you guys know which waits can be removed. |
I didn't see you edited your comment, |
What i did now is to try and understand why things are failing and i need propably need to learn or read something more about it! Just simple thinking from my side: So my conclusion would be that those iframes can't be the cause of failure? Or at least that wouldn't be logic? Not sure if this would be usefull to see the log from the failing test case:
The 2 first lines succeed! The rest 130 lines fail! |
Here is what I believe is the issue, |
New test case: Log:
2 lines seem to fail |
I runned the old test with removing the iframes! Seems to be it! 👍 This seems to work but still all the errors throwing me that all those elements are not found. Does this mean that somehow the css selectors are not working anymore in the new IDE? |
We use the same selector builders as the old one, |
Hmmm this is not the case? The source is still completely the same of our application nothing changed. The old IDE still plays the test case without any problems. We removed the iframes Hotjar and our Intercom. Did also some simple test on other websites targeting some simple links with that approach with the same results. |
You are correct, it also seems to be a problem originating from selenium, I'll add it to the diff. |
Awesome! Thanks 👍 |
Also appears than an issue with the "open" command. I have tons of scripts and I don't use the base url at all. Instead, the first command I run is to open a website/url. Appears the released version of the new ide doesn't know what to do with that and gets an error. Unless I manually go to the url outside selenium, then run the script. Then it seems to open and run ok. |
@olds97lss The same case for using variables that are not taking in to account in next coming test cases and suites! :| I used always a single config file with a bunch of variables. Not i need to add them per test case that doesn't make it very maintainable. |
This issue is starting to get a bit off topic. |
@corevo Yes sir. I never really used the base url in my scripts since I tend to write them to hop from one site to another for work. Within one script, I'll open a jsp that fires a query with parameters I add on to the url for updating database items, then I open the same jsp again but with new parameters to do a lookup. After confirming the update was successful, I open the site I need to test, which is a totally different url. That's just one instance, but I do open full url's directly pretty much all the time since it's easier for me to maintain. |
@corevo I can open my own ticket, just wasn't sure what to do this early on. |
It's always best to open a ticket if the title doesn't directly reflect your issue, cause if the conversation gets out of hand it becomes hard for me to keep track of it.
Cheers,
Tom
…On 29 Jan 2018, 20:34 +0200, olds97lss ***@***.***>, wrote:
@corevo I can open my own ticket, just wasn't sure what to do this early on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
<title>planko</title>
Trying to execute clickAndWait on css=img.logo... Failed: |
Page source? |
jobs-regensburg.com |
we use some waitForVisible to check if a site is loaded correctly. not for clicking or something else, just to check if this target is available or visible on page. |
Why clickandWait command is depreciated from Selenium IDE? I came to know the Wait is done automatically now, but it is not the case here.. i have a page with three buttons, clicking any one will reload the page, i have to record clicking all three buttons but the new version IDE doesn't do the job where it was doing perfectly fine with clickandWait command. I always get two buttons clicked skipping any one with the new version. I tried using Clickat command with no use. Please can you add the ClickandWait command back, i had to use another automation software which provided Clickandwait command to solve it. |
@Nachikethan1 and @setiseta we have added some wait for commands back, which will be in the next release. See #157 for details. |
I know this is relatively old, but wasn't sure if it warranted a new ticket being made. I noticed when I import my older IDE scripts, my "waitforvisible" commands are being omitted entirely from the script in the new ide. With some commands, it loads them, but they are invalid and it fails, so then I change them as needed. But the waitforvisible entire line is being omitted. I noticed this a while back and forgot about it until today when I was importing an older script that had a lot of waitforvisibles in it. In the instance I'm using it, it's with a shopping cart. I have something similar to the following: When I import, only the click|id=EE_cart remain in the script. |
Looks like with the new selenium IDE there are less or limited commands you can use/select.
Example: Failed: Unknown command: waitForElementPresent
Are those commands on purpose gone? would be nice to have a suggestion to what to use instead in the log if commands needs to be replaced with something else?
And have more of those problems with type or send keys on input fields that are failing for some reason... But will soon comeback to update the ticket.
Another issue i'm facing right now is the following:
Blocked a frame with origin "URL" from accessing a cross-origin frame.
Im fairly new to IDE and just starting with automation testing! :D
ANAWAY im really happy with the work you guys have done so far! 👍
The text was updated successfully, but these errors were encountered: