Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 19:00
    tfaron commented #5133
  • Jan 31 2019 07:28
    cnishina closed #5135
  • Jan 31 2019 07:28
    cnishina commented #5135
  • Jan 30 2019 16:23
    ThabisoGithub closed #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:23
    ThabisoGithub edited #5136
  • Jan 30 2019 16:21
    ThabisoGithub opened #5136
  • Jan 30 2019 16:18
    IgorSasovets commented #4177
  • Jan 30 2019 15:05
    andrewchan-clover commented #4177
  • Jan 30 2019 13:43
    IgorSasovets commented #5135
  • Jan 30 2019 12:37
    EnzDev edited #5125
  • Jan 30 2019 11:47
    akshaymondal opened #5135
  • Jan 29 2019 14:33
    uinest commented #4822
  • Jan 28 2019 21:38
    cnishina commented #5132
  • Jan 28 2019 21:37
    cnishina commented #5134
  • Jan 28 2019 21:37
    cnishina closed #5134
  • Jan 28 2019 21:36

    cnishina on selenium4

    chore(release): bumpb version t… (compare)

  • Jan 28 2019 11:30
    think4ideas opened #5134
  • Jan 28 2019 11:01
    toniedzwiedz commented #2735
  • Jan 28 2019 09:42
    azorrozua commented #4786
kappakp
@kdp88
9 replies
Jan Molak
@jan-molak
@shalu0628 - check out my answer on StackOverflow - https://stackoverflow.com/questions/41806327/increase-timeout-when-running-against-remote-grid where I've described the different timeouts
Shalu
@shalu0628
Thank you @jan-molak
Jan Molak
@jan-molak

Hey folks, I've just released a new version of Serenity/JS and protractor-cucumber-framework to improve the support for Cucumber rerun feature:

Please see the changelog, update to the latest version, and let me know if you spot anything that could be improved.

Tejkumar Kempaiah
@T-e-j-k-u-m-a-r

Hello Folks,

Problem Statement 1:

I have a login page in an angular application where failonstatuscode is 500(Internal Server),
Due to which the login page just loads and enters username, password and click on login is not working or login is not successful.
I know we can handle it by refreshing the browser that instance. How not sure how it can be achieved.

How can we handle it Protractor such as refreshing the screen when encountered ?

Please suggest.

Problem Statement 2:
How to get a total spec pass or fail in the terminal or console post execution of entire automate suite in Protractor?

Please suggest.

Tejkumar Kempaiah
@T-e-j-k-u-m-a-r
Hi All, Is there a way to get automation execution results on tabular form in the console ?
spmiller
@spmiller
Hi team, in the "future of protractor" issue on Github, @StanislavKharchenko mentioned there might be a library in development that can plug the WaitForAngular gap in WebdriverIO. Does anyone here have any knowledge about it, or pointers on where to go next?
1 reply
StanislavKharchenko
@StanislavKharchenko
@spmiller here is example provided by Keen how to use waitForAngular in native selenium-webdriver https://github.com/kyliau/angular-wait By the similar way you can integrate it into WDIO
12 replies
Shalu
@shalu0628
Hi All, can someone give an alternative to Enter Key code? await browser.actions().sendKeys(protractor.Key.RETURN).perform(); --- This code throws an unsupported error .. so am unable to proceed..
7 replies
Shalu
@shalu0628
Hi All, when performing a file upload, the upload file window remains open, and the test scripts gets terminated.. How do I close the upload file window?
StanislavKharchenko
@StanislavKharchenko
There are no ability to handle upload browser dialog by webdriver, since this dialog is a part of your OS (Windows/Linux etc). You can just to find some external libraries which have direct access to Windows API and close dialog by pressing esc. But my suggestion is to try don't open this dialog, but upload files using webdriver "sendKeys" into form field.
Shalu
@shalu0628
thank you @StanislavKharchenko
Shalu
@shalu0628
How do I get the handle to the next URL in protractor?
that is generated with an id ..
Mustafa DAĞTEKİN
@Desertt
Hello everyone when I build my automation system with protractor on the server
I see an error on console output
[11:02:37] I/local - Shutting down selenium standalone server.
[11:02:37] E/launcher - Error: TypeError: JSON.parse(...).map is not a function
I could not resolved it
can you help me ?
1 reply
image.png
StanislavKharchenko
@StanislavKharchenko
Could you please describe step by step how you run your tests?
and Protractor config
StanislavKharchenko
@StanislavKharchenko
According to your attached stack the problem is with cucumber-html-reporter. Pls try to switch it off and run again to check
Andy Jenkins
@andrewajenkins
Does anyone know how Protractor knows when a page load is triggered? I have a good solution for waiting for a page but is there a signal or something it checks for that indicates a button click, lets say, is going to route to a new "section" in the SPA? thanks
Andy Jenkins
@andrewajenkins
Nevermind, found what i needed above. thank you
Jan Molak
@jan-molak

Hi folks, I've just released protractor-cucumber-framework version 8.2.6 with Serenity/JS 2.32.2. Please make sure to update :-)

If you have any questions about Serenity/JS, please join https://gitter.im/serenity-js/Lobby

Puru-rs
@Puru-rs

Hi, When I am running the protractor script in the Linux box I am getting this error can anyone help me resolve this?
chrome version is 91

chrome config is like this:
directConnect: true,
chromeDriver: './../chromedriver',
//seleniumAddress: 'http://localhost:4444/wd/hub',,
capabilities: {
browserName: 'chrome',
loggingPrefs: {
performance: 'ALL'
},
chromeOptions: {
args: ['incognito'],
args: ['--headless', '--disable-extensions', '--disable-gpu', '--disable-dev-shm-usage', '--no-sandbox', '--window-size=1280,1024', "--log-level=3"],
prefs: {
download: {
prompt_for_download: false,
directory_upgrade: true,
default_directory: downloadPath
}
}
}
}

Error:
[13:42:56] I/launcher - Running 1 instances of WebDriver
[13:42:56] I/direct - Using ChromeDriver directly...
[13:42:56] E/launcher - spawn /var/lib/jenkins/workspace/QA/UIAutomation/AURA_Regression_BATCH6/chromedriver EACCES
[13:42:56] E/launcher - Error: spawn /var/lib/jenkins/workspace/QA/UIAutomation/AURA_Regression_BATCH6/chromedriver EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
[13:42:56] E/launcher - Process exited with error code 199

1 reply
StanislavKharchenko
@StanislavKharchenko
selenium-webdriver 4.0 released today!
1 reply
Mustafa DAĞTEKİN
@Desertt
Hello everyone I got an error
Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 91
Current browser version is 94.0.4606.81 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
4 replies
Can you help me ?
Shalu
@shalu0628
Hi All, I am using this code to enter date - browser.executeScript("document.getElementById('clientDOB').value='10/02/2019'"); - but this value is not being saved.. Can someone please help?
7 replies
Jan Molak
@jan-molak

Hi folks, I've just published protractor-cucumber-framework version 8.2.7 powered by Serenity/JS 2.32.3.

If you have any questions about Serenity/JS itself, please join our community chat here on Gitter.

Shalu
@shalu0628
Hi All, I have a scenario -- where the dropdown box already contains a value (default -- auto-populated), I have to enter another data that is overwrite using protractor.. any one can help with how to go achieve this ?
Shalu
@shalu0628
TypeError: Cannot read property 'isPresent' of undefined
at ProtractorExpectedConditions.presenceOf
can someone please suggest a solution to resolve the above error?