LeanFT with C#.net
LeanFT Introduction Supported applications Installation of LeanFT Installing the browser extensions Setting up LeanFT project in Visual Studio LeanFT Settings Types of Licenses in LeanFT Object identification center Understanding LeanFT API in C#.Net LeanFT plugin in Visual StudioAutomating windows application Running first test Integrating LeanFT with Visual Studio Unit testing framework Viewing the results of the test Description programming in LeanFT application models regular expressions in LeanFT Web application testing using LeanFT Identifying the elements using xpath and css Firing events Executing JavaScript Calculator automation using LeanFT Notepad Automation using LeanFT Automation of Java Applications Automation of SAP Applications Automation of .Net Applications Visual Relational Identifier Synchronization in LeanFT in C#.Net Assertions in LeanFT Generating reports with screenshots and recordings Converting UFT object repository into application model Keyword driven frameworks Data Driven Frameworks SpecFlowNative objects LeanFT common issues and solutions Comparison of LeanFT with Selenium and Ranorex Difference between HP UFT and LeanFT. LeanFT references and Resources for .NetRegular expressions in leanft in C sharp
Regular expressions are really useful to identify the objects in LeanFT. We can specify the property values as regular expressions in 2 ways.- Using description programming
- Using application model editor
var leanFTLink = browser.Describe<ILink>(new LinkDescription
{
TagName = @”A”,
InnerText =As.RegExp(@”.*LeanFT.*”),
Index = 1
});
Example with Application model editor In application model editor, we can specify the regular expression as shown in below image. You just need to click on the * icon in front of the property value which you want to make as a regular expression.
Web development and Automation testing
solutions delivered!!