Hello,
I am trying to use custom referenced DLL in scripts with TestStudio v2015.1.319.0 and it is not working. I have tried below options to use my custom dll and none of them worked.
1. Put dll in Project Root folder. (Root path: D:\Telerik Projects\TestProject1\Demo.dll where my Project Name is "TestProject1")
2. Put dll in assembly folder. (Path: C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Demo.dll)
3. Put dll in any other folder on system. (Path: E:\Telerik References\Demo.dll)
Is there something I am missing here ?
Thanks,
Chandresh
Hi there,
QA is a small part of this company but it is growing. We have more than 30 customers and we will need to soon test all customers which are using different CSS.
At this moment, we are using nightwatchjs with Node using Javascript, it is good and we can define steps and call those steps several times in our code. i.e. login, creating different text for topics etc... I have several questions:-
1. How do you handle text creation? I.e. a Topic or a UserName can not have the same name, must be unquie. In nightwatch we use chance.js
2. Can run through Jenkins?
3. Can be run by Groups?
4. Scripts can be recording in your application and imported or viewed as javascript? I.e. import into nightwatchjs?
5. Ajax calls can also be called?
6. Do you have a API Reference?
7. Does your system create reports
8. How long does your Trial version last for?
9. This software can be install on MAC? Is it support?
10. If a licence is bought, how many people can use this at one time?
01.
[CodedStep(@
"ImageComp"
)]
02.
public
void
Comparison_CodedStep()
03.
{
04.
System.Drawing.Bitmap actualbmp =
new
System.Drawing.Bitmap(@
"pink3.png"
);
05.
System.Drawing.Bitmap expectedbmp =
new
System.Drawing.Bitmap(@
"pink5.png"
);
06.
ArtOfTest.Common.PixelMap expected = ArtOfTest.Common.PixelMap.FromBitmap(expectedbmp);
07.
ArtOfTest.Common.PixelMap actual = ArtOfTest.Common.PixelMap.FromBitmap(actualbmp);
08.
09.
Assert.IsTrue(expected.Compare(actual, 0.0));
10.
}
Above is my code for the image comparison I am carrying out with the 2 attached PNGs. Both pink squares are 300 by 300 pixels. Each black square contained inside each pink square is 50 x 50 pixels. In examining the images, it is inherently obvious that they are different, the black squares are in completely separate locations. But, with a tolerance of 0, the test I have this coded step in still passes. So it brings me to my question...
How is this test passing?
What is the Compare function testing for? A summation of pixel values?
Is there a workaround to this? How can I make this test fail without modifying the images?
~ Max
I am working with a WPF application. I am curious if it is possible to detect if a certain element in the UI is under focus?
The attached screenshot shows 2 fields, the 1st of which has focus. The 2nd one does not.
I found a similar post but it was slightly out of date and I was not sure if it discussing WPFs here: Finding Focus.
~ Max
The issue I am having is importing excel files. My excel file consists of nothing but a few steps in column A, rows 1 - 3. Whenever I try to import the XLSX, after inputting the file path, I move to the Select Table drop down menu and click on the arrow. As you can see in the screenshot, nothing shows up when it drops down. The same thing happens for the Select Column drop down menu.
What am I doing wrong?
~ Max
We run out manual test cases in sequence, but when I create tests under a folder they are order in alpha by test case name. Is there a way to reorder the test cases themselves. I'm not talking about reordering the test script steps.
Thanks!
The HtmlTable functionality is available in version 2015.1.528
2 requirements setup:
* Test Studio Version 2015.1.528
* Project Settings -> Translators -> Html -> HtmlTbale TranslatorsI should be able to perform these steps:
I should be able to perform these steps:
* selection of 'HtmlTable' (cannot find this ?)
* highlight the entire table
* select Quick Tasks, verify row count
I do not have HtmlTable available to me yet by highlight elements - is it somewhere else ?
Hi,
I'm having problem with the extraction and then parse this extraction and use it in input value field. On the site there is a table with results from which I want to pick random cell in first column and store this data (example value in cell ZVE-P5045-2892). Then I want to take last digits after the second "-" sign (example 2892) and type it in the input value field on the page. If I try the following, I get the whole value ZVE-P5045-2892 into the input field:
1. Extract 'TextContent' on 'ZVEP50452892TableCell' into DataBindVariable $(paymentRequest)
2. Enter text 'zve-p5045-2892' in 'NumberText' - DataDriven: [$(paymentRequest)]
I know I have to use VB.NET now, but as I lack of the VB knowledge I need your help. So how could I pick a random value from cell in first column, use only last 4 digits from this value and type it in to input value field?
Thanks and BR, Jurij
Yo!
I am testing a WPF application and it is crucial that I simulate front-end, user peripheral input as genuinely as possible. If I want to enter some text into some textbox, how can I do this such that it is the same as a user physically using a keyboard with the app?
I asked this question via email and was pointed to the 'Test Step Properties' section of the Test Studio documentation. I am a bit confused on how using properties like 'SimulateRealClick', 'SimulateRealTyping', and 'SimulateRealUser' can be implemented and how they are useful.
If I create a LeftClick step, is Test Studio going to perform this click using the mouse or does it invoke a click on the WPF element?
Thanks!