Questions tagged [test-project]

35 questions
1
vote
1 answer

Not able to retrieve RouteData in a MVC project

I am using MVC5 to create a project on culture basis. I am creating some test cases for my App using MOQ, but I am not able to find my Route in this. I am using a class named as MockHttpContext to get my httpcontext like below. public static…
1
vote
2 answers

Add a test case to TestLink

Where should I press to add a new test case in TestLink? I navigated to "Add/Remove Test Cases" area, but there is no such buttons. Help me to get a rid of bad TestLink usability.
tmporaries
  • 1,523
  • 8
  • 25
  • 39
1
vote
2 answers

How to find all test methods (coded UI) dynamically?

I have several test projects written in C#. I need to create a new application (can be a console or WPF application) which needs to refer to the test projects and found out all test methods names dynamically. So far I was able to find out all…
0
votes
0 answers

Which record and playback automation tool is good in the current market?

We have been using the TestProject automation tool for the past one year but today they announced to discontinue it due to heavy maintenance work and they can not afford it anymore to provide it for free. Can you guys suggest me any free record and…
0
votes
1 answer

Appium Python Client Does not Install an exact Apk but a wrapped APK package

When I run a python script with the following code structure. from appium import webdriver desired_capabilities = { "appium:deviceName": "Android Emulator", "platformName": "Android", "appium:appPackage": "za.co.app", …
Given
  • 1
0
votes
1 answer

ModuleNotFoundError: No module named 'src.testproject'

I've been trying to use TestProject OpenSDK for Python to generate HTML test reports for my automated tests (with pytest), but I'm getting the following error: No module named 'src.testproject'. I've followed the directions laid out on the…
Trevor
  • 160
  • 1
  • 12
0
votes
1 answer

How to get the elements into a list in appium

List count= driver.findElements(by.xpath("abc")); I am getting an error if I use the above line: "Type safety: The expression of type List needs unchecked conversion to conform to List" I am doing a TestProject coded…
Lipson T A
  • 49
  • 3
  • 9
0
votes
0 answers

How to create same runing containers with out --scale in docker

Hy! I use testproject to ui testing but, when i want to create a docker agent with a compose file, i always recreate my first agent. I renamed it, but it doesn't help. My goal is to create a few same running container to run my test in…
0
votes
1 answer

Checkbox is not getting clicked properly in testproject or andriod app

i have an android app where it has 3 checkboxes in a view. All three controls are of type andriod.widget.checkbox. Along with these checkboxes there is a text content as well. Inside that text content, there is a link also. Now my aim is to click on…
Lipson T A
  • 49
  • 3
  • 9
0
votes
1 answer

How to assign descriptive names to unit tests

Using Visual Studio 2015 Community. I have a unit test project with all these methods named "Step01_AddUser", "Step02_AddHomework", etc. However I'd like to give them descriptive names which will appear in the Test Explorer window. Basically I want…
0
votes
2 answers

Is it possible for methods to have dual access modifiers?

I have many methods that are defined internal like so: internal static string GetAJobShaNaNaNaShaNaNaNaNaNa(string Silhouettes) However, in order to call them from a test project added to the solution, I need to change their access modifier from…
0
votes
2 answers

Unit Test Session doesn't show tests from new test class

VS2013 Update 5 Created C# MVC Web Application project including a Test Project. Updated all packages... I moved my Models namespace, all model classes and the ApplicationDbContext into a new class library, separate from the MVC Web App project. I…
Robert Achmann
  • 1,986
  • 3
  • 40
  • 66
0
votes
1 answer

How to rebuild android test project when only having APK of the application to test (no source code)

What I want to do: Update an android test-project What I have: 1. The APK of the application under test (aut) - no source code 2. The source code of test-project What I did: Modified (with a 3rd party app) the source code of the test-project…
Inês
  • 882
  • 3
  • 13
  • 28
0
votes
1 answer

Error while running the Unit Testmethods using EntityFramework

I have an application where I am adding a new row in table using EntityFramewok. I wrote a test case which will check the functioning of this addrow method. I am getting count of rows before and after adding the row to DB. But I am getting an…
0
votes
2 answers

How to set test URL in LoadTest in LoadAndPerformanceTestProject - Basic

This question is very basic if you previously used this tools, but I just spent 2 hours and havent figured it out, so please help. It is the first time I try to test a REST service and how many concurrent users can it take. While LoadStorm looks…
Ryan
  • 5,456
  • 25
  • 71
  • 129