automated-tests

How to automatically login using EasyRepro in Dynamics 365 on-premise

≯℡__Kan透↙ 提交于 2020-02-15 08:10:13
问题 This bounty has ended . Answers to this question are eligible for a +100 reputation bounty. Bounty grace period ends in 5 hours . Anthony Steven wants to draw more attention to this question. I'm trying to do Automated UI Testing using EasyRepro in Dynamics 365 On-Premise. I managed to the testing with one issue, I can't automatically login to my Dynamics 365 Organization. Below are the code that I used: var client = new WebClient(TestSettings.Options); using (var xrmApp = new XrmApp(client))

How to automatically login using EasyRepro in Dynamics 365 on-premise

我与影子孤独终老i 提交于 2020-02-15 08:09:29
问题 This bounty has ended . Answers to this question are eligible for a +100 reputation bounty. Bounty grace period ends in 5 hours . Anthony Steven wants to draw more attention to this question. I'm trying to do Automated UI Testing using EasyRepro in Dynamics 365 On-Premise. I managed to the testing with one issue, I can't automatically login to my Dynamics 365 Organization. Below are the code that I used: var client = new WebClient(TestSettings.Options); using (var xrmApp = new XrmApp(client))

how to Make selectable appPackage and appActivity BeforeScenario in android Appium Test Automation

吃可爱长大的小学妹 提交于 2020-02-06 08:01:34
问题 I want to choose starting app(appPackage,appActivity) in @BeforeScenario to develop a test scenarios for multiple apps in one test project. I know use the start activity but because of security permission denial, I can not use it. The only working method is using capabilities in beforeScenario. Before start the test I want to choose the starting app.My Code: `@BeforeScenario public void beforeScenario() throws MalformedURLException { DesiredCapabilities desiredCapabilities = new

How to share a global variable between test files from a test in TestCafe?

余生颓废 提交于 2020-02-04 06:36:54
问题 I'm manually setting auth cookies for my login purpose and I would like to share the Auth token across my tests. The very first time I have to perform a login in a test and then I have to save the auth token in a variable and share it across the test files. Here is the code snippet to explain what and how I'm trying to do: loginTest.js : let authToken = null; fixture`Login test` .page(inputData.url) .beforeEach(async (t) => { const nextMonth = new Date(); nextMonth.setMonth(nextMonth.getMonth

Appium - When do we use touch action? Could I have actual example for inputing text with it?

北慕城南 提交于 2020-02-02 12:52:07
问题 I would like to ask when do we use touch action in Appium. I also want to ask: could we use touch action to tap/press the android.widget.EditText element and sendKeys to it. Could I have an workable example to test it? 回答1: We use touch action whenever we want to click/tap on the particular element on the device. For Clicking You can use touch action for EditText element as bewlow : driver.findElement(By.xpath("your element xpath/id")).click(); For Typing Also, You can use sendKeys for

Is Puppeteer-Cluster Stealthy enough to pass bot tests?

99封情书 提交于 2020-02-02 11:26:23
问题 I wanted to know if anyone using Puppeteer-Cluster could elaborate on how the Cluster.Launch({settings}) protects against sharing of cookies and web data between pages in different context. Do the browser contexts here, actually block cookies and user-data is not shared or tracked? Browserless' now infamous page seems to think no, here and that .launch({}) should be called on the task, not ahead of the queue. So my question is, how do we know if puppeteer-cluster is sharing cookies / data

Looking for the ways for test automation of web site

我是研究僧i 提交于 2020-02-01 05:01:46
问题 We develop custom survey web sites and I am looking for a way to automate the pattern testing of these sites. Surveys often contain many complex rules and branches which are triggered on how items are responded too. All surveys are rigorously tested before being released to clients. This testing results in a lot of manual work. I would like to learn of some options I could use to automate these tests by responding to questions and verifying the results in the database. The survey sites are

Jmeter - Getting previous results in mail

血红的双手。 提交于 2020-01-30 12:52:10
问题 I'm using Jmeter - it runs automatically every 4 hours (through crontab). I'm sending the results file (csv) in the mail at the end of the test. I always see the file of the previous test, not the current one (I can see by the hour). the structure is this: one 'Test Plan' (I checked 'Run Thread Groups consecutively' and 'Run tearDown Thread Groups after shutdown of main threads), two 'Thread Groups' - which at the end of each I write results to csv file using 'View Results Tree', and at the

selenium chrome driver select certificate popup confirmation not working

不问归期 提交于 2020-01-28 05:49:26
问题 I am automating tests using selenium chromewebdriver 3.7. Whenever I lauch the site, I get a certificate selection popup like the one below However I am not able to click on the OK button. These are the options I have tried //I have tried getWindowHandle like this String handle= driver.getWindowHandle(); this.driver.switchTo().window(handle); //I have alos tried switching and accept driver.switchTo().alert().accept(); //I have also tried to force the enter key like this robot.keyPress

exception while invoking the constructor autofac dependency error

南笙酒味 提交于 2020-01-25 11:14:04
问题 Message : Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor()' on type 'ChromeDriver'. ---> unknown error: unrecognized Blink revision: 2ac50e7249fbd55e6f517a28131605c9fb9fe897 (Driver info: chromedriver=2.10.267521,platform=Windows NT 6.3 x86_64) (See inner exception for details.) ----> System.InvalidOperationException : unknown error: unrecognized Blink revision: 2ac50e7249fbd55e6f517a28131605c9fb9fe897 (Driver info: chromedriver