Category "testing"

Element was null when I user page object pattern

I'm new to mobile automation, and I'm facing a problem with page object pattern. When I try to find element with FindElementById everything works, here is my cl

Python Global Variable Not Defined - Declared inside Class

I've seen a lot of questions on global variables, but for some reason I still can't get mine to work. Here is my scenario - I have my individual test cases an

How to click elements that have generated id's if I don't know what the ID will be in Selenium

Say I have some HTML mark-up as such: <select id="select_titleOfSelect-1212_01" name="titleOfSelect-1212" <option value="ONE"></optio

Robot Framework - check if element defined by xpath exists

I'm wondering, I'd love to find or write condition to check if some element exists. If it does than I want to execute body of IF condition. If it doesn't exist

Gatling load testing and running scenarios

I am looking to create three scenarios: The first scenario will run a bunch of GET requests for 30s The second and third scenarios will run in parallel and wait

Change the representation of special characters in Gatling script

How can I change the representation of special characters in Gatling? I need to do this in token exchange, for example: Here is sample response from server 1a

How to create tests w/Doctrine entities without persisting them (how to set id)

I'm working on tests for a Symfony2 project, and right now I'm looking for a way to create tests involving entity objects without persisting them. The problem i

Is there any mobile testing tools? [closed]

I want to ask about a tool or software to test j2me mobile app. On different screens and different devices. Also if available to test if appl

WebUI.maximizeWindow() not working for Katalon Docker image?

WebUI.maximizeWindow() does not work for katalon docker image, The command works fine on Katalon desktop, but when I run this on docker image it seems to igno

Assert if there exist a td DOM with a specific text in testcafe

I just started using testcafe, so far I found the documentation helpful to do my test and automate my E2E. I want to assert if a value exists in a td like this

How should I get started using PHPUnit as a testing framework for a bunch of functions and classes I have already made?

I've already read the documentation. Basically I've tried tests while following the BankAccount example. But I get errors: Warning: require_once(PHP/CodeCovera

How to use OR condition with TestNG assertions

Is there a way to do assertions with OR with TestNG? This is what I am trying to find: assertEquals(expected, value1 || value2); // Can be any number of valu

Flutter testing error: NotInitializedError which involves environment variables (.env)

To start, I did review this but to no avail. How to access Flutter environment variables from tests? import 'package:flutter/widgets.dart'; import 'package:flut

Katalon Studio missing report after upgrade from 5 to 6

How to save a report into a special directory from cmd? I have this cmd arguments: -summaryReport -reportFolder="C:\testagent\test_repo" Basic report plug