Questions tagged [end-to-end]

Is a technique used to test whether the flow of an application right from start to finish is behaving as expected. For anything relating to applying a test, protocol, or other desired action to a set of servers from front-end to back-end.

While testing all of the individual components and connections in large system can help to give confidence in a system overall, ensuring that the expectations of system work together as a continuous entity will provide the greatest confidence in its viability.

Many other concepts also apply on an end-to-end level, such as ensuring that data is encrypted from the moment a user submits it until it reaches a database or other back-end or other similar considerations. Particularly as a multi-tiered infrastructure increases in complexity, so to does the burden of ensuring that the expectations of the system hold true across the various components of the system.

659 questions
0
votes
0 answers

Is it ok to setup end to end tests with a database script instead of using the application's models if the logic is too inertwined?

I need to write end to end tests for a web api which test various scenarios. However the models logic is pretty tough, if the tests for a case/model takes like 100 code rows, the setup in the background most likely takes 300 - 500 of those, lots of…
Vee6
  • 1,527
  • 3
  • 21
  • 40
0
votes
2 answers

Handle Non-Angular pages in Protractor

I have an application where it navigates away to an Non-Angular app for login. The basic login is like this. First, loads the angular app, then click on a button on the page. Then navigates away to a non angular app (STS implemented with…
Kasun Kodagoda
  • 3,956
  • 5
  • 31
  • 54
0
votes
1 answer

How should one introduce automation testing to a software which is already in production?

How should one introduce automation testing for a software (Android & iOS) which is already in production? Such software was only undergoing user acceptance testing (manually) which was being done manually. Since the system is already built, which…
Dicky M.
  • 3
  • 3
0
votes
2 answers

Message as 'undefined' in protractor html screenshot reporter

I am getting 'undefined' in the message section of the generated html report of Protractor-Html-Screenshot reporter. In my tests i am using chai.assert. It should ideally give 'Passed' for passed scripts. Any help would be great.
KBM
  • 341
  • 4
  • 16
0
votes
2 answers

Protractor - Verify that element exist

i am using some kind of angular filter of a table and i need to verify if results from filter is correct. I already work with this table before, where I click on element: element.all(by.xpath('.//td[.="89" and @class="ultranarrow…
Andurit
  • 5,612
  • 14
  • 69
  • 121
0
votes
1 answer

Cannot compare element.getText() values in if statement - in Protractor automation

I am new to protractor, and I am struggling to compare the values in if condition, I am not sure what I am missing. Please check my spec and let me know what I need to do. Spec.js: Non- Angular Page: Click the elements and getText() into an array …
Suk
  • 31
  • 4
0
votes
1 answer

Get value of drop down select

I'm trying to get the value of a selected drop-down. I found an question on SO on how to select the value I want, I found several that claim to say how to get the text of the selected value for Expects testing, but i can't get their answers to…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
0
votes
2 answers

How can I use protractor to verify an URL?

I would like to get the current URL using protractor, and then verify that this URL is the one that I need. I am using: istheSameURL(url) { return browser.getCurrentUrl() === 'http://localhost:9000/#/analysis/62/1'; } However, it is not…
lmiguelvargasf
  • 63,191
  • 45
  • 217
  • 228
0
votes
2 answers

How to prevent browser.driver.sleep

I have the below spec which is working fine, but I want to prevent using browser.sleep(): it('should go to the item details page', function () { browser.get(testOptions.baseUrl+testOptions.cpdmPath+testOptions.itemDetailsForAttachment); …
Vishal Kaul
  • 133
  • 6
0
votes
1 answer

Reusing authentication state between Jasmine blocks

My app requires users to sign in by submitting a form. I wonder what is the best place to do it in my tests. I came up with some options: sign-in in beforeEach block (and signout in afterEach block) sign-in in beforeAll block of every describe (and…
Dziamid
  • 11,225
  • 12
  • 69
  • 104
0
votes
1 answer

Ideas for web content testing using protractor?

Has anyone got any ideas on what else is good to test regarding web content and stuff that protractor is capable of testing? Currently I have tested links to see if they go to the correct page? also I have tested text colour and decoration when…
Peter Jones
  • 69
  • 2
  • 9
0
votes
0 answers

Protractor File Upload using button

Can someone post an example of how to upload a file in protractor using a button? Not sure if setFileDetector is needed in here or not. I am using Protractor, JS, selenium standalone server, and have a button to select a file, i.e. Button: Select…
reutsey
  • 1,743
  • 1
  • 17
  • 36
0
votes
2 answers

Protractor: Is it possible to reload/refresh frame in protractor?

Does protractor allows refreshing a single frame instead of using browser.refresh() to refresh the entire page?
Aman Gupta
  • 3,627
  • 4
  • 40
  • 64
0
votes
2 answers

Protractor xpath identification with lengthy xpath

New to Protractor scripting. Any feedback on why I am unable to find element in the stack trace based on this following run? TempString =…
ColtsFan
  • 13
  • 4
0
votes
1 answer

Protractor cannot locate a element/value

Below is the html code:
My Court Cases