-
Notifications
You must be signed in to change notification settings - Fork 162
-
Notifications
You must be signed in to change notification settings - Fork 162
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
An error occurs when a number is passed as an argument to window.open #1908
Comments
Please also refer to this link for similar issue https://testcafe-discuss.devexpress.com/t/urgent-unable-to-click-link-inside-table/1020 |
I've researched your page and found that the second argument of this function: popwin = window.open('../control?navigate=login', IDNumber, config='left=0,top=0,width=' + (screen.availWidth-20) + ' height = ' + (screen.availHeight-50) + ' toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, directories=no, status=yes').focus();
I rewrote the argument to In addition, I wish to mention that currently TestCafe does not support testing in multiple browser windows. Please refer to the following issue to track the progress with this feature DevExpress/testcafe#912 |
Alex, thanks for the help but this is an application of Midas fusion, off the shelf application so we cannot ask them to change the IDNumber type or modify the page so is there any other solution for this issue without modifying anything in the page. Please note, It is working fine manually when I click on the start button as well as it is working fine in Selenium but since we are using Testccafe as our baseline, request you to help with this issue. Thanks in advance. |
Thank you for your clarification. We will fix this behavior, so the error won't appear. |
Thanks, Alex, TestCafe will not open a new window, but rather open a new page in the current window, this is fine as it is known already. Can you let me know when this issue will be fixed? Thanks in advance |
I cannot give you accurate estimate, but I think we'll fix it in one of nearest releases of the |
Thanks, Alex |
Hi Alex, |
I think there is no appropriate workaround for the issue, however we are planning to fix it in the current sprint. |
…y in IE Browser` (close DevExpress#1908)
…y in IE Browser` (close DevExpress#1908)
@AlexKamaev Currently there is a folder name 'testcafe-hammerhead' in node_modules when we downloaded testcafe. So above fixed 'testcafe-hammerhead' and folder in node_modules are same... if not then, how to use this updated 'testcafe-hammerhead'... Thanks in advance... |
@hiruthre |
@alex Thanks for the update.. can you let me know when the new release (testcafe-hammerhead or testcafe) will be available.. |
@hiruthre |
Hi Alex, Thanks for your support and help, For updating the latest testcafe-hammerhead 14.4.14 version, I need to update my package.json and rum npm i testcafe-hammerhead. Is this correct? Also can you please notify here, once the testcafe version has been upgraded. Thanks in advance |
@hiruthre |
Thanks for the update Alex... |
…y in IE Browser` (close DevExpress#1908) (DevExpress#1927)
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
What is your Test Scenario?
Like to click a table tag of class button with onclick functionality which have multiple tds.
What is the Current behavior?
The button is getting clicked, test is getting passed but the page is not navigating as expected
What is the Expected behavior?
The button should be getting clicked and it should be navigated to the expected page
What is your web application and your TestCafe test code?
Refer to the attachment below.
Testcode.txt
Your website URL (or attach your complete example):
Please use the file as HTML
Samplecode.txt
Steps to Reproduce:
This is not the complete application we use, have sent you the sample script to reproduce the error, when running the script in the original webpage, we get the below error as mentioned in the attachment.
Also tried with client function for the browser IE, error occured as mentioned in below screenshot
Your Environment details:
Testcafe version: 0.21.1
NodeJS version: 8.11.2
command-line arguments: testcafe ie testcode.js -e
browser name and version: IE and 11.0
platform and version: Windows and 10.0.0
The text was updated successfully, but these errors were encountered: