ui-automation

How to handle data encryption in Ranorex?

女生的网名这么多〃 提交于 2020-06-13 08:49:25
问题 I want to get encrypted-password from database for login in Android and iOS App. I've made Username and password as data binding and by setting password-variable to the textField, I want the password to be converted/decrypted, to set password correctly, otherwise testcase will be always failed. is there any built-in method/function in Ranorex for doing data encryption? If not, how to do it? (I'm new in Ranorex and test automation.) 回答1: There is no built-in method to encrypt/decrypt. You will

How to handle data encryption in Ranorex?

馋奶兔 提交于 2020-06-13 08:49:18
问题 I want to get encrypted-password from database for login in Android and iOS App. I've made Username and password as data binding and by setting password-variable to the textField, I want the password to be converted/decrypted, to set password correctly, otherwise testcase will be always failed. is there any built-in method/function in Ranorex for doing data encryption? If not, how to do it? (I'm new in Ranorex and test automation.) 回答1: There is no built-in method to encrypt/decrypt. You will

Does Microsoft UI Automation Framework work with Chrome, Python and Java Apps?

ぃ、小莉子 提交于 2020-06-10 05:16:40
问题 I am working on an automation project, in which I need to capture the activities [ application launched, data entered, input type etc.] user performs on a desktop. I came across Microsoft UI Automation framework which so far works well for native windows based applications like MS Office, .NET apps etc. However I did not find any useful information / samples of capturing the information from different web browsers [Chrome is a must], Python apps, Java Apps etc. Can someone please confirm

Does Microsoft UI Automation Framework work with Chrome, Python and Java Apps?

本小妞迷上赌 提交于 2020-06-10 05:14:35
问题 I am working on an automation project, in which I need to capture the activities [ application launched, data entered, input type etc.] user performs on a desktop. I came across Microsoft UI Automation framework which so far works well for native windows based applications like MS Office, .NET apps etc. However I did not find any useful information / samples of capturing the information from different web browsers [Chrome is a must], Python apps, Java Apps etc. Can someone please confirm

Does Microsoft UI Automation Framework work with Chrome, Python and Java Apps?

拈花ヽ惹草 提交于 2020-06-10 05:14:06
问题 I am working on an automation project, in which I need to capture the activities [ application launched, data entered, input type etc.] user performs on a desktop. I came across Microsoft UI Automation framework which so far works well for native windows based applications like MS Office, .NET apps etc. However I did not find any useful information / samples of capturing the information from different web browsers [Chrome is a must], Python apps, Java Apps etc. Can someone please confirm

Set value of ion-range slider to specific value

本小妞迷上赌 提交于 2020-06-01 05:07:50
问题 I am writing scripts in robot-framework with appium-library. I have range slider on my page and I need to slide it to some specific value. I tried swipe and it was working but I want to swipe slider to specific value. for e.g. lets say My current range value is 10 and I want to slide it upto 11. How can I calculate my end_x and end_y in this case. I also tried Execute Script where I was setting value to DOM element directly. But when I am running script its giving me error "WebDriverException

Get name of window which is being closed using automation events c#

安稳与你 提交于 2020-04-15 15:32:14
问题 I'm working on a project where I need to get the name of windows which is being closed . I'm using C# Automation events for this. I've pasted below the code that I'm using: Automation.AddAutomationEventHandler(WindowPattern.WindowClosedEvent, AutomationElement.RootElement, TreeScope.Subtree, (sender, eve) => { AutomationElement winElemnt = sender as AutomationElement; if (winElemnt != null) { Console.WriteLine("Window closed : " + winElemnt.Current.Name); } }); The above code get triggered

Get name of window which is being closed using automation events c#

女生的网名这么多〃 提交于 2020-04-15 15:32:08
问题 I'm working on a project where I need to get the name of windows which is being closed . I'm using C# Automation events for this. I've pasted below the code that I'm using: Automation.AddAutomationEventHandler(WindowPattern.WindowClosedEvent, AutomationElement.RootElement, TreeScope.Subtree, (sender, eve) => { AutomationElement winElemnt = sender as AutomationElement; if (winElemnt != null) { Console.WriteLine("Window closed : " + winElemnt.Current.Name); } }); The above code get triggered

Powershell script strange behaviour when invoked from CMD/CLI

天涯浪子 提交于 2020-04-11 07:40:14
问题 This scripts works fine when executed from Powershell console... but does not work when executed with Powershell.exe from CMD.exe... ( powershell.exe -file script.ps1 , using Powershell 5.1.17763.771) # display Windows Shell Folder propertes $App = New-Object -ComObject Shell.Application; $AppNS = $App.NameSpace( "c:\windows" ); $AppNS.Self.InvokeVerb( "Properties" ); I tested other GUI objects (Winforms & WPF) and they work fine... ?any ideas... 回答1: Seems like it has to wait for the

Using for loop and if else in cypress

好久不见. 提交于 2020-03-03 09:04:56
问题 I am in a situation where I need to use for loop and If else block in cypress Scenario : Once I login to an application, I need to read an element's text which is rounded in the below screenshot. This element will appear within 20-90 seconds after I log in, when I refreshed the screen. so I need to write something like this, wait for element, if it appears reads the text and returns the value, if not wait for 10 seconds reload the page and do the process again. function waitAndreload() { for