A framework is a combination of predefined process and components that can be used to write actual automation scripts. Following are the critical features of any QTP framework Test GUI Object Repository - Any UI automation will have objects to interact with. These objects will have to be stored and retrieved in an…
QA Testing
Answered May 9, 2022
·
790 Views
Read answer →
You can use Assertions to verify something is in a certain state. Normally you compare the actual against the expected state. Example usage: Do some steps in your application Gather the value of a field Assert that the value is indeed the value you expect Assert.AreEqual(Actual, Expected) This could give an assertion…
QA Testing
Answered May 9, 2022
·
779 Views
Read answer →
A web search of the terms resulted in, Scalability Testing, is the testing of a software application to measure its capability to scale up or scale out in terms of any of its non-functional capability. Performance, scalability and reliability testing are usually grouped together by software quality analysts. The main…
QA Testing
Answered May 6, 2022
·
1.2K Views
Read answer →
Corner Case Testing: When the system breaks only for a specific valid inputeg: Imagine a function getchar() that that takes a number and all numbers from 1-5 are valid inputs: But, getcar(wheel=?) function works with all numbers but fails for getcar(wheel=3)Edge Case Testing: Here we check that the system handles…
QA Testing
Answered May 6, 2022
·
947 Views
Read answer →
For the selenium close browser, I will suggest: If possible avoid just closing and opening browser if there is not such a requirement Understand the driver.close() and driver.quit() driver.close() will close the current window and driver instance will be present driver.quit() will close all the windows and cleans up…
QA Testing
Answered Apr 26, 2022
·
774 Views
Read answer →
I have tested an ExtJS application. Most of the page element attributes are dynamic. They change not only when you add a new user or something, they change every time when you open the application. I have found the xpath class contains expressions I get from the tools (Firebug etc.) are not very useful. Here is…
QA Testing
Answered Apr 26, 2022
·
1.4K Views
Read answer →
There are a few methods to get screen width Android, getSize() methods Display screen size = getWindowManager().getDefaultDisplay(); Point size = new Point(); screensize.getSize(size); int width = size.x; int height = size.y; Ge default display size: WindowManager wm = (WindowManager)…
QA Testing
Answered Apr 26, 2022
·
820 Views
Read answer →
What has worked well for me regarding the developer testing is the following steps. The developer makes their best effort at writing good code. The developer gets a code-peer review from another developer The developer runs their unit tests, and checks that they all pass. The developer and the tester sit down for a…
QA Testing
Answered Apr 25, 2022
·
728 Views
Read answer →
You need to learn automation testing and many other things before being able to work in test automation. The skills are ordered from 1 to 13 so that it is easy to understand how they develop: 13 Test Automation (basic skills) 12 Learn Page Object Model 11 Learn Object Oriented Programming in Java 10 Learn the…
Cyber Security
Answered Apr 22, 2022
·
766 Views
Read answer →
The easiest way to output the debug sampler's output to the JMeter log is using an appropriate JSR223 Test Element and simple Groovy script like: vars.entrySet().each { var -> log.info(var.key + '=' + var.value) } Where: vars - stands for JMeterVariables class instance log - is Log4JLogger
Cyber Security
Answered Apr 22, 2022
·
1.2K Views
Read answer →
QTP Automation has a list of QTP Framework available, but before using any of them you need to check for your project specific needs. Below some types of Automation Frameworks listed: Data driven framework Keyword driven framework Test Library Framework Hybrid Framework BPT frameworkSome more are there so you need to…
Cyber Security
Answered Apr 22, 2022
·
783 Views
Read answer →
Very simple NUnit test: using System; using NUnit.Framework; namespace SampleUnitTest{ [TestFixture] public Class SampleTest { [Test] public void AddingOneAndOneResultsInTwo() { int two = 1 + 1; Assert.AreEqual(2, two); } } }Explanation is simple too, integer value two equals 2 and then method Assert.AreEqual(2, two)…
Cyber Security
Answered Apr 21, 2022
·
905 Views
Read answer →