Skip to content Skip to sidebar Skip to footer
Showing posts with the label Protractor

"window.angular Is Undefined." When Using Protractor For Automated Testing?

I seem to have an error when using the example conf.js provided with protractor. I am running my te… Read more "window.angular Is Undefined." When Using Protractor For Automated Testing?

Executing .exe File Using Node Runs Only Once In Protractor

I write some tests using jasmine and protractor i want in the @beforeeach to execute .exe file usin… Read more Executing .exe File Using Node Runs Only Once In Protractor

Cloning Element Finders

While researching available ElementFinder and ElementArrayFinder methods, I've noticed that the… Read more Cloning Element Finders

Can't Access Array From Within Protractor Callback

I'm new to both protractor and javascript. I ran into a scoping issue which I can't figure … Read more Can't Access Array From Within Protractor Callback

Detecting Whether An Iframe Is Angular Or Not With Protractor

I have the following unusual use case. I detail it below 1) I'm on an angular page & I do s… Read more Detecting Whether An Iframe Is Angular Or Not With Protractor

Set Size Of Image From Canvas

So I'm using Protractor in my project and in my test I want to convert the canvas element to an… Read more Set Size Of Image From Canvas

Is There A Configuration In Cucumberjs To Take Screenshot On Error?

using CucumberJS Is there an option or configuration to capture screenshot on error after the execu… Read more Is There A Configuration In Cucumberjs To Take Screenshot On Error?

Removing Browser.ignoresynchronization = True Causes "angular Could Not Be Found On The Window"

I need to remove browser.ignoreSynchronization from my protractor files. However, doing so causes a… Read more Removing Browser.ignoresynchronization = True Causes "angular Could Not Be Found On The Window"

What Is `browser.call()` For In Protractor?

I've recently being going through the Protractor API and noticed the browser.call() method: Sc… Read more What Is `browser.call()` For In Protractor?

Protractor, When Should I Use Then() After A Click()

I'm running an Angular app and when testing on protractor a click(), I don't know when shou… Read more Protractor, When Should I Use Then() After A Click()

Dropdown In Protractor With Typescript

I m new to Protractor and I want to automate a dropdown selection. I have some idea on how to get i… Read more Dropdown In Protractor With Typescript

How To Click On Hidden Element In Protractor?

I have an element which is visible only when I hover over it. I've written following code to ho… Read more How To Click On Hidden Element In Protractor?

Failed: Cannot Read Property 'all' Of Undefined

We have been using protractor.promise.all([promise1, promise2, promise3]) extensively to resolve mu… Read more Failed: Cannot Read Property 'all' Of Undefined

How To Find Specific Row In Ng-table By Text [protractor]

I want to select specific element from a table by the second column value (I removed the whitespace… Read more How To Find Specific Row In Ng-table By Text [protractor]

How To Introduce Delay Between Tests In Protractor

I am exploring protractor tool with cucumber and test is executing super fast.. in order to know if… Read more How To Introduce Delay Between Tests In Protractor

Drag & Drop With Protractor By Repeater

There are a few questions similar to this one & and I have read them all. However I still can&… Read more Drag & Drop With Protractor By Repeater

Unable To Locate Svg Class Using Protractor

I am trying to locate SVG class present in Angular APP having bar charts following is the html blo… Read more Unable To Locate Svg Class Using Protractor

Asserting An Element Is Focused

According to the How do I assert an element is focused? thread, you can check if an element is focu… Read more Asserting An Element Is Focused

Protractor Drag And Drop

I have a list of elements so i want to write a function to drag those elements into a container tha… Read more Protractor Drag And Drop

Element Is Not Currently Visible And So May Not Be Interacted With When Clicking A Button

My Protrator code is element(by.dataHook('delete-button')).click(); Getting: Element is … Read more Element Is Not Currently Visible And So May Not Be Interacted With When Clicking A Button