Automate Java Swing Application


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
In addition to .Net, web and mobile applications, Testmate can also automate Java swing applications. Below script uses Android studio as a sample. The workflow starts on an already open Android Studio. It opens the Settings dialog from the File menu, performs some actions and closes it. Any open source Object spy can be used

Save as PDF in Chrome | Testmate | Selenium


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Since the print pane is a desktop window in all the browsers, Save as PDF can not be automated using Selenium. People try to use different chrome options, AutoIt or Robot class to handle such scenarios but that does not always work. Such scenarios can be easily handled using Testmate and can be triggered from

Desktop Automation Step By Step

Desktop automation has always been dependent upon licensed tools like UFT, Coded-UI, etc. Only a handful of options are available when we look at opensource/freeware alternatives. For all those who are looking for a free option to automate desktop applications, Testmate can be of imminent help. Testmate is a VBScript based tool that simplifies the

Appium | Automate iOS Application Using Testmate


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Testmate allows you to automate iOS applications using Appium engine. To automate iOS, you have to use selenium grid functionality as you can not install Testmate on the Mac machine. Setup Start a Hub on your  Windows machine (where Testmate resides) Register a Mac machine as a node (from Mac machine) Start Appium server on

Mouse Clicks & Key Press Using Testmate


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Testmate allows you to simulate keystrokes and mouse clicks as below: Mouse Click 1 2 'Perform mouse click on the entered x and y co ordinates Call native.MouseClick(5,5)'Perform mouse click on the entered x and y co ordinates Call native.MouseClick(5,5) Mouse Right Click 1 2 'Perform right mouse click on the entered x and y

How To Invoke External DLL’s | VBScript


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Testmate provides the capability to invoke procedures in external DLL’s. The below code demonstrates the usage of  LoadAndRun method to invoke SetForegroundWindow method from user32.dl: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 'Declare The DLL to be used sDLL = "user32.dll"   'Declare the

Appium | Automate Android Application Using Testmate


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Appium is an open source test automation framework for automating native, hybrid and mobile web applications. Testmate allows you to program Appium using VBScript. Setup Turn on AVD using emulator or connect a real android device Turn on the Appium Server Run the below code with correct device name and other capabilities The below code invokes the default calculator

Webdriver | Launch Edge Browser Using Testmate | VBScript


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Webdriver needs MicrosoftWebDriver.exe file to launch a chrome browser. Download the latest version here. The below code launch the Edge browser using Testmate. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 'Intialize edge Options wd.InitializeEdgeOptions()   'Initialize edge Driver wd.InitializeEdgeDriver("C:\Users\...\EdgeDriverPath")   'Navigate the URL wd.NavigateToUrl("https://www.facebook.com/")   'Highlight

Webdriver | Execute JavaScript Using Testmate


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
JavaScript is one of the most preferred language used in web browsers. A browser has JavaScript implementation in it and interprets the JavaScript commands. WebDriver gives you an ability to executes the JavaScript in context of the loaded browser page. The Testmate code to execute JavaScript is as below: 1 2 3 4 5 6

Webdriver | Work With Multiple Browsers | Driver Parking


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Driver parking is a concept that allows working with multiple browsers without loosing the instance of any. It allows the storage of additional 5 drivers which can be switched with the host drivers by using inbuilt methods. The below test demonstrates the use of two additional drivers. 1 2 3 4 5 6 7 8