Cypress: How to use X-path Plugin
Cypress has emerged as a popular choice for automated testing in web development. Known for its simplicity and powerful features, Cypress provides simple way to write end-to-end tests. One of…
Cypress has emerged as a popular choice for automated testing in web development. Known for its simplicity and powerful features, Cypress provides simple way to write end-to-end tests. One of…
Regular expressions (regex) are a powerful tool for pattern matching and text manipulation. They are used most commonly in all types of testing activities for various purposes.When combined with Cypress,…
Scenario: Let's imagine a scenario where we have a parent element with the ID my-element, and we want to validate that each of its child elements contains a specific text.…
Here, I am sharing one issue I resolved about 'How to assert element is not clickable?'. I am new to Cypress and have been working on with the help available…
QTP: GetRowWithCellText method - find the row number on a webtable with secified cell textGetRowWithCellText is an inbuilt QTP method which returns the number of the first row found that…
1:'Get path of files2:TestCases="D:ApplicationsTestAppAutomationAutomationFramework.xls"3:TestSteps="D:ApplicationsTestAppAutomationAutomationFramework.xls"4:TestData="D:ApplicationsTestAppAutomationInputData.xls"5:'Import test case list6:datatable.AddSheet "dTestCases"7:datatable.ImportSheet TestCases,"TestCases","dTestCases"11:'Import testcase data12:datatable.AddSheet "dTestData"13:datatable.ImportSheet TestData,"TestData","dTestData"
Following VB script can be used to launch QTP. 1: Dim QTPObj 2: Dim QTPTest 3: Set QTPObj=CreateObject("QuickTest.Application") 4: If Not QTPObj.Launched then 5: QTPObj.Launch 6: End if 7: QTPObj.Visible=True…
We can use the following code to convert system date to other formats:- 1: MyDate = Date 2: msgbox MyDate 3: MyDay = day(MyDate) 4: MyMonth = Month(MyDate) 5: MyYear…
I had a scenario where i had to display the message as - The operaration cannot be performed because "xyz" field is blank. To include double quotes in the…
To concatenate two strings, there is no separate function in QTP/VbScript. ‘+’ operator is used for concatenation of two strings.For example, run the below code. 1: string1 = "String" 2:…