Hi,
We are planning to go with layered apporoach for our automation framework .
We are confused with the approach for managing page objects.
we have a project which has business functions and a project which has all scripts.
Currently we are planning to add page objects and related business functions in a .tstest file.
But since the application is huge, the number of libraries will increase.
So I was thinking maintaining all page objects in a file called page objects.tstest and using this class in business libraries..
Please advice..
Thanks,
VVP
Hi,
We are creating a library and Scripts layer for our project
We observed that from scripts, if we want to call library functions we need to pass Manager object as well.Else scripts fail.
Is there any way where we can call functions with parameters only.
eg
In scripts
objCommonLib.Login(username,password,Manager) ;
In library
public bool Login( string username,string password,Manager Manager)
{
Logic here..
}
In scripts created instance like objCommonLib = new CommonActions(this);
I tried creating constructor for library like below.
BaseWebAiiTest activeTest;
public CommonActions(BaseWebAiiTest callingTest)
{
activeTest = callingTest;
}
Kindly let me know. Our main objective is to have layered approach.
Thanks,
VVP
Okay, I have multiple environments (Dev, UAT, Stage and Production). Currently I am creating automated tests in our Dev environment. The idea is to use the same test to run in other environments. When I try it, I notice that nothing happens because the primary target for the element is different depending on the environment it is in. I've attached screenshots for examples, and each environment are accessed through different URLs (http://devapp/ and http://uatapp/). Is there a way to make this work? Or will I have to create a new test for each environment. Thanks in advance.
I just installed Telerik Test Studio. When I try and create a new project, the following messages are displayed:
Unable to create folder 'H:\Test Studio Projects\TestProjects3\Data'.'
Unable to create folder 'H:\Test Studio Projects\TestProjects3\Results'.'
Unable to create folder 'H:\Test Studio Projects\TestProjects3\TestLists'.'
Once I click ok for all, I am directed to the test studio but it keeps loading.
How do I stop the errors from appearing so I can work on a project?
Hi there,
I am having a problem extracting text correctly while preserving formatting and pasting it somewhere while preserving formatting. I am extracting a license key from within a <pre> tag, storing it in a databind variable and outputting that text into a text input and verifying that the license is valid. I am having problems where when I extract the text, there ends up being additional whitespace and formatting issues with the text, causing the license key to be changed from its original state, making it invalid. I have also tried copying the key with its correct formatting into an excel spreadsheet, and binding the sheet into my test and pulling the key from there but it doesn't seem to work correctly as well. Is there any way to properly extract data while preserving formatting in test studio?
Thanks,
Khalid
Hi Admin,
I'm so confused that IE stopped working once I verify some element when I record the steps.You can see the attached file for detail. And Test Studio recorder exited.Could you please tell me how to solve this problem. Thanks.
Ella
Hi,
I am using test studio to test an AngularJS app. It is essential for me to use Simulate Real Click on all text fields to allow the two way binding to occur.
Is there a way of speeding up the simulate real click speed, as it take a very long time for each test.
Regards,
Zaki.
Hi,
i got the following hidden input field
<
input
id
=
"
regit"
type
=
"hidden"
>
I got two issues here
1. Get the value of regit
2. Use the value to Navigate To a url
Any ideas?
Zaki.