UiPath Bot -Can we do automation testing of Uipath bots? - automation

I want to do the automation testing of UiPath attended and unattended bot. I am not able to identify the window dialog box getting generated from Uipath. Please advice me the tool which can identify objects and automate the UiPath bots.

With uipath 20.4 community preview release there are new exciting features to create test cases in the UiPath studio itself. refer this link here.
https://forum.uipath.com/t/testing-capabilities-in-community-orchestrator-20-4-community-preview-release/210487
however I would imagine you will be on older versions of studio, which requires you to apply other approaches. here is few ways to automate the testing for UIPath processes.
Using the Orchestrator APIs we can monitor the jobs in various ways
https://platform.uipath.com/kinooqmollho/kinoorgDefault/swagger/ui/index#/
Jobs APIs to get status of the jobs
Alerts API to get any alerts generated by the Job
RobotLogs api to get check specific logs you expect or not expect in
the jobs
Apart from this, you could build a test automation script to verify
the results of bot, directly on the applications to make sure results
you expect are showing up there.

Newevest versions of UiPath Studio already have testing built-in (Test Activity).
For full-fledged Automated Testing capabilities watch for the announcements early this year

The newest versions of UiPath Studio already have testing built-in (Test Activity).
You can also take the tutorial in https://academy.uipath.com on how the test automation works.

For running the BOT from command line you can use below syntac on CMD:
"drive:\Users\username\AppData\Local\UiPath\app-20.10.4\UiRobot.exe" -file "..\path_of\Main.xaml"
For testing, if the BOT is running or not you could send an email every few minutes so that you can remotely get the heartbeat of the BOT.

Related

Error trying to start robot remotely with smartcard from UiPath Orchestrator

The UiPath Orchestrator and robot are set up according to the instructions in the UiPath Guide. When we now try to run a process remotely on a machine with a Developer License the following Error shows up in the Orchestrator logs:
Could not start executor. The requested certificate could not be received. (Exception HRESULT: 0x8010002D)
and the following shows in the Windows Eventviewer:
StartProcessInSession:session.cpp#255: Unable to validate credentials: error: 2148532269
The errorcodes map to SCARD_E_CERTIFICATE_UNAVAILABLE according to https://learn.microsoft.com/en-us/windows/desktop/secauthn/authentication-return-values but I could not find any information on to why this error is occuring.
The manual login is working as usual and we tried it on multiple machines with the same result. Machines without smartcards are working fine.
Does anybody know what the root of this error could be?
This looks like an issue concerning the different types of license. To my knowledge just having a "developer" (I assume here you mean a license to use Studio) does not mean that automations can be launched on that machine from Orchestrator. Orchestrator requires that an unattended bot license be present, which is distinct from a license for Studio or an Attended Bot.
I would recommend closely reading the documentation (https://robot.uipath.com/docs/about-licensing) on licensing to make sure that the you are only trying to call an unattended bot from Orchestrator.

TestCafe Studio: Is it possible to check smetrics records in the network tab of the Google Chrome dev tool through Deep equal assertion?

This is regarding TestCafe studio feature to validate records like smetrics.vehicle.ca in the Network tab of the Google Chrome dev. It's basically more of interacting with Stack trace records in the Network tab(Image etc.) to validate through deep check assertion. Please list down the steps to validate?
Thank you for your interest in TestCafe Studio.
TestCafe Studio is an instrument for end-to-end testing, whose purpose is to simulate the real user scenario and check that the system operates correctly. Working with Chrome Dev Tools is not supposed for end users, so TestCafe Studio does not support it.
In addition, I want to mention that since TestCafe Studio is commercial software, it's better to ask questions in DevExpress Support Center using the following link.

Selenium and Database testing

I am totally new to the web application and automation testing.
I am learning selenium from youtube videos and developing frameworks.
while looking into the videos most of them cover only testing the Application as such.
I found very few videos which state about interacting with the database and verifying them.
I just wanted to know how will this be in real time projects?
In real time projects will they automating scenarios like configuring something in the UI, then validating it in the database, coming back to the UI and continuing the UI flow or will it be simply only verifying the UI.
I want to know more about how to do database testing.
Any info here will be of great help
Selenium is one of the best choice available in today's market when it boils down to Automation of Web Application. Selenium have support for Mozilla'a geckodriver, Google's chromedriver, Microsoft's IEDriverServer & even Safari etc. Hence Selenium is widely accepted as the best Web Automation tool as of today.
Having said that, though you too can perform Database Testing through Selenium but it's not the ideal candidate. Database Testing can include transaction rates & round-trip calculations for which there are other tools which does those work better and you may like to explore those as well. Alternatively, you can also integrate those tools in your Project Framework and work with Selenium in tandem.

Cloud-based testing automation tools

I try to find a service which provides a functionality that allow me to create manual tests autmation for web-based applications in simple way with visual constructor without any coding, so it could be
simple in use without any coding on selenium or another framework tool
has option to set testing in schedule mode via the web interface to perform regression testing
has ID's validation and shows possible inconsistencies
The main point is reproduce manual tester's work without using automation scripts and do it in simple way in order to a beginner will be able to work with it.
So could anyone describe his own experience ?
There are two main options I would consider
to find a service which provides a functionality that allow me to create manual tests autmation for web-based applications in simple way
First one is BrowserStack and you can record your Selenium tests using the Selenium IDE extension for FireFox. It can export the recorded steps into your favorite language (C#, Python, ect). You can execute these recorded scripts on BrowserStack by pointing the hub URL to Browserstack's Selenium hub ‘http://hub.browserstack.com/wd/hub’ along with your username and Automate key. Your 'username' and 'automate key' can be found at Account --> Automate1, after you have logged in to your account.
I would suggest, you refer to the comprehensive documentation on BrowserStack Automate. It takes you step-by-step through the product and all its features. You can select the language you are using and get started with BrowserStack Automate. If you have any more questions, feel free to email at support#browserstack.com. They will be happy to help you out.
Second option is SauceLabs and the Selenium Builder. This is the docs that will guide you. Further more you have CI integrations for Jenkins and Bamboo.
You can use Selenium IDE to create your automated tests. With this Firefox plugin, you can record a test in your browser.
Once you're done recording, you can export the test and upload it to TestingBot. There you can specify the browsers you want to run the test on. TestingBot will then run your test across all the browsers you specified.

Send status report of test cases using monkey talk

How to report errors or test cases status(PASS/FAIL) to developers using monkey talk automation tool for ios/android app testing.
Use monkeytalk with continues integration tool like jenkins