I am facing an issue with Jmeter, that I hope to solve. I want to create modular frame work and to use include controller. The problem is that when I am on some step for example loop controller, and I want to save it as test fragment, I press the right button and save as test fragment it saved all the test plan.
I just want Jmeter to save the specific step, not all test plan. Would someone please advise if I want only a single step to be test fragment, how can I do it in jmeter? I just want to save the step and than use include controller for all tests, can some one please elaborate using PIC and step by step reproduce?
Is it possible to make loop controller test fragment? for other tests?
To use Loop Controller as fragment follow the following steps:
Right click on Loop Controller -> Save as Test Fragment
Save in file loop.jmx
Disable/Remove Loop from your test plan
Add Include Controller (where Loop were)
Click Browse and choose the saved fragment loop.jmx
Your test is ready to work as it worked before with loop.jmx usable JMeter script.
Related
Internal: Failed to perform step 1 in navigate stage 'password aa mode'on page 'password-aa mode'-command send keys gave invalid result.
i'm unable to get the solution for the above error.
enter image description here
You are working with browser based application , so that HTML mode used for spy element and AA/Win32/Region Mode used for Window Application.
Option 1- First Spy password textbox via HTML mode in application modular & later use write stage to provide value to textbox
Option 2- In case Write stage will not work then you would move to GSK/GSKE text input methods and use navigate stage .
Regards
Vimal
You could try using a Write stage instead, provided you have a model element spied for the password field (probably the same one you are trying to use with the Navigate stage +sendkey + text data item containing the password). Also, remember you should use the root application model (the one at the top of the list) with sendkeys if you insist on using the Navigate stage instead of a write.
I use MaterialList library to display card views and in some projects each card view has extra space after it (I cannot post a picture since I need 10 reputation...). Any idea why?
Update
The above occures when I am running the library's sample code from within my application. Everything is ok when running the sample code as is (I made no changes to the sample code in order to run it from within my application).
I have FXML application with more than one scene. main method is on one Controller class and within that controller we load loginController. What i need to do is test this loginController UI. But there is no start method. I need to know how to pass scene changes while testing.
I got the issue.. In my case we need to wait some time to load the components. Then it automatically identify the components..
What i did is only check for one test case. But when i skip time using dummy loop and load the second test case. Then Jemmyfx identify my components in fxml file correctly.
I am using CodedUI to automate on a WPF application, I have 2 buttons in a form, I want to verify the text of each button. But when running only have passed script. Because The actual result of the second script is always the actual of the first button. So how I get the second text to verify? Please help me.
(I saw they are the same AutomationID when I record)
Check the search properties and search configurations of the buttons in the uitest file. If the properties are ambiguous, codedui will find the same button each time. If you have access to the application source, try giving the buttons unique friendly names.
I have implemented a test framework trough coded UI to test msaccess application which has some buttons and dialog boxes popping up.
i have a strange problem which is, when i use coded UI it actually captures the coordinates for the control. this executes all the tests when i run from the same machine but fails to run the tests wherever the resolution changes or screen re sizes.
please let me know the way by which i can call the controls from a vba application based on their control names or id rather then coordinates.
I don't think that the coordinates is the reason that your tests are failing. These coordinates are referred to the controls themselves just to simulate the exact point you clicked on the control.
See this link: Why are we using coordinate based actions in Coded UI Test?