automating the tests where application running under citrix xenapp - automation

I am hardly trying to automate some of the scripts for regression testing in the application, but the challenge am facing over here is, the application running under the Citrix XenApp so am not able to automate it in a usual way(Selenium & UFT) please anyone help me to find the way to automate the application under citrix :)

With Citrix, like any other image based screen, you can use :
Insigth Object to locate and interact with images on the screen
GetTextLocation method to locate text using OCR (optical character recognition)
Low level recording to click at some screen location, by coordinates
SendKeys function to input text on the screen

Related

Microsoft Teams Desktop application Automation with Selenium

Was following the Article https://applitools.com/blog/automating-electron-applications-using-selenium/ to automate MS Teams Desktop application. Able to start, perform actions on elements, but got to the point when new popup appears and it is a "webview". Would appreciate any advice to find a way to locate elements in the webview, is Selenium able to switch to it? Or some other tool to use for automation this type of applications?

Automate browserstack: Keyboard is not open on iphone web

I am using robot framework, SeleniumLibrary and browserstack for automation. The issue I am having is now that the keyboard for iphone is not open every time I interact with input field. Although, it is working fine in any Android & any browsers.
Input Text xpath=//input[#class='example'] XXX
I tried to first click on the input field, then insert the string. But the issue is still occurs. Anyone has any ideas why?
Thank you.

SeeTest (Mobile automation) support for serenity

we are trying to implement serenity to test mobile application using SeeTest automation tool. can anyone guide what will be best way. currently we are able to connect to the device with the help of wrappedSeeTestDriver.once the execution completes results are generated but screen shots are not captured. also operations like sendText("{ENTER}"); also not working. Any suggestions idea will be great help.
To achieve BDD with SeeTest, you can use SpecFlow with C#. Below are high level Steps:
Write acceptance criteria of your test case in a FeatureFile as scenarios in Gherkin language.
Write StepDefination - where you write underlying implementation for each line in feature file in C#.
When you build your project, all the tests in your feature file will be displayed TestExplorer.
Right click and execute any test you want.
SeeTest will generate the HTML report, screenshots, logs and other outputs in TestResults folder of your project.
sendText("{ENTER}");:
The sendText({Enter}) (or also the 'BKSP') is basically try to use the enter from the android keyboard, and it is a possibility that this application or specific activity on the application developed different.
If you are using seeTestAutomation and open the application in the reflection and spotify to the right place when you testing the enter, try to press manual in the the computer's keyboard 'enter', is it working?
Also please try with adb command (run command in seeTest) "adb shell input keyevent 66" (66 is the keycode for enter) and if this won't work - it means that the enter command is not implemented this view of the application.

VB.Net automate flash in WebBrowser

I've passed many hours searching the web for a solution to something which seems obvious, but without results.
I need to automate a task in a Flash application running on my intranet.
I can't change the Flash application nor do I have access to the source code.
it's not a Flash movie but an application.
I can't download the swf.
I'm using a WebBrowser in a form. The Flash app is displaying without issues.
So far, I have been able to automate the task (clicking on some buttons, then inputting text and finally saving the results on a server). It works but it's not clean at all because I use hard-coded timers to wait a given action is done and then I click on very specific point at given coordinates in the application.
What I would like to do:
Avoid hard-coded timers. the Flash application takes some time to display all elements on the window (from 20 to 60+ sec). I would like to be able to detect when all elements are loaded. I tried to retrieve the text of the windows handle, but while I can retrieve the Flash hwnd, I can't retrieve the content (through messages).
In brief, instead of waiting 60sec (and not being 100% sure it's enough), if the last element to load in the Flash app has "ABC" written in it, I would like to detect it's displayed so that I can continue the sequence (click on the next button).
I'm using VB.net. Any hints to achieve that would be appreciated.
Lol. I am trying to do the same thing but with no results. You can try to see if there are POST/GET codes that can help you if the application has an online nature. Other than that you can only simulate clicks, because flash can't be easily interacted with. This is why most of the things are going to swap with HTML5 now.

Access to item of desktop application

What I'm trying to do is some thing similar to rational functional tester. Recording step for functional testing (of desktop application, for example), save and run. This means that the functional test application would be access to all property of the form (text box, checkbox, etc.) right ?
Someone of you have a snippet of code in order in order to access to a text box of a desktop application from esternalità application ? I'm Investigating on this ....
Regards.