automated-tests

Automated testing for OpenGL application

我与影子孤独终老i 提交于 2019-12-12 07:28:57
问题 I have a Java Application that uses JOGL to provide a large part of the GUI. Is there any tool which you know of, or have used which can automate the testing of OpenGL applications (or more specificly those using JOGL) Just to update: The tool can run on either linux or windows. 回答1: I have written unit-tests for C++ (Qt on Linux) & OpenGL before. I don't know any reason it shouldn't work for Java too. The things which worked for me are: Abstract your OpenGL context provider so the rest of

CodedUI Find lower level List Item without an ID?

百般思念 提交于 2019-12-12 07:02:38
问题 I am experimenting with CodedUI using C# and am having some trouble. I have got a <div> containing an ID, and then a non-uniquely identified <ul> with several <li> tags like the below: <div id="uniqueIdValue" class"long_class" activetabindex="0" sfwtabcontainer="true"> <ul class="long_class2">::before <li class="sharedListItemClass" sfwtabheader="true">...</li> <li class="sharedListItemClass" sfwtabheader="true"> <a href="#someValue">History</a> </li> <li class="sharedListItemClass"

Visual Studio Online: Multiple build controllers - how to add a new build controller

早过忘川 提交于 2019-12-12 06:38:04
问题 I have multiple projects hosted on Visual Studio Online (Formerly TFS Service) For one of my solutions, I have created a hosted build controller that runs xUnit to run all my unit tests. This works fine as everytime I check in my code, Continuous Integration kicks in, building my solution and runs my tests. This is the build controller popup in Solution A (from VS2012) In the Properties page: Now I'm trying to use nUnit for another Solution B , but I can't seem to figure how I can create

Automate OAuth access token for Zed Attack Proxy Scans

南楼画角 提交于 2019-12-12 05:58:50
问题 I want to run security scans for few REST APIs. These APIs use OAuth and are divided into two sets each using different Grant Type. I want to run security scan using ZAP tool and I am not able to automate the process of getting OAuth Token used by the requests. I am using SoapUI to record the APIs in ZAP which works very fine. But when the token expires, I have to re-record or edit token manually after retrieving it using SoapUI or PostMan. A kind request to provide steps in little bit detail

How pick image on Albums - iOS testing KIF

拈花ヽ惹草 提交于 2019-12-12 04:53:09
问题 Faced with this problem, when you select an image from the album comes not click on the image. At point pressure also occurs. What to do? used:[tester choosePhotoInAlbum:@"Moments" atRow:0 column:0]; As well as: [tester tapScreenAtPoint:CGPointMake(47, 150)]; 回答1: I was trying to figure this out as well. Solved it by adding a [tester waitForTimeInterval:1] before [tester tapScreenAtPoint:CGPointMake(47, 150)] Like this: [tester tapViewWithAccessibilityLabel:@"Camera Roll"]; //Album Name

Can i change path of TestTools.UITest.Dll in wpf?

怎甘沉沦 提交于 2019-12-12 04:22:56
问题 Hi sorry for that question but, it is possible to change location reference OF TEST dll??? I have VS 2015 enterprise, i copy all DLL test in my subversion folder, add the reference but VS don't change the path... the path is alwais : "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.TestTools.UITest.****.dll could you help me please? path issue 回答1: The best way I've discovered is to collect your required .dlls and package them together

load fixture data for acceptance tests - Codeception

感情迁移 提交于 2019-12-12 04:08:43
问题 Hope Everyone is doing great. I have a problem. I need to get my fixtures loaded in db before running acceptance test in codception in my Yii2 Application. here is teh detail for it. Target : Load fixtures in database so that I can run acceptance tests on them. Problem : Despite of my a at most efforts, I am still I am unable to achieve this affect Here is the data that I got to share with you: common\modules\myCustomModule\tests\acceptance\models\DashboardCest ``` class ResumeDashboardCest {

Jenkins funcunit integration with xunit results not working

和自甴很熟 提交于 2019-12-12 03:43:31
问题 I have a couple of tests written in funcunit by Bitovi, and after finally getting them to work with phantomjs I would love to automate it in a Jenkins job. This actually allready works but I need a way to visualize my tesresults, so I read that it should be possible with the XUnit plugin for Jenkins, but it doesn't matter to what type of test patter I set it, it either says it's empty or it's not a valid xml. Below you'll find the command I execute for running the testsuite and the results

Check if Windows Application is running (not process)

廉价感情. 提交于 2019-12-12 03:37:06
问题 I am hoping to check at the beginning of an automated test if an application is open. I can check if the process is running by doing the following foreach (Process proc in Process.GetProcesses()) { if (proc.ProcessName.Contains(name)) { return true; } } However, the process I want to find starts up about a minute before the application actually opens and is ready to be used by the test methods (its a very slow starting application). The above code sample looks at all windows processes running

Getting Specflow Tag in WebDriver Method

狂风中的少年 提交于 2019-12-12 03:33:42
问题 I am running an automated test suite using c#, selenium, and specflow. If possible, I would like to be able to see what tag(s) are assigned to the current scenarios so I can instantiate a certain browser type per scenario. Is this even possible using XUnit?? Login Feature File: Feature: Login In order to login to DRIVE As a user We have to enter login details Background: Given I am on the login page @headless Scenario: Logging in as a valid user And I enter a valid user and password When I