How to work on multiple browsers within a single testcase in TestRigor? - testrigor

I need to invoke a new (other) browser within a testcase.
Say., If we are working by default on Chrome, I need to invoke a Firefox/Edge browser within the testcase. Additionally the user session in one browser is expected to be retained when we switch across the two browsers. How is this achievable with TestRigor?

Click on your Test Suite.
Click 'Settings' at the bottom of the left hand column
Click the 'Multiple browsers' tab at the top of the page.
Choose the OS (Windows, Ubuntu (Linux) or OSX (Mac)
Choose the Browser for the chosen system.
Click the 'Add Browser' button.
Click the 'Save' button
Return to a test.
Under 'Quick Actions' click 'Re-test'
Click the Execution UUID link and you can see all OS/Browser combinations executing.

Related

Using Blueprism, How to right click on a web application and select an option using Key or Click events?

Using BluePrism, how to right click on a web application and select an option using Key or Click events in Region Mode or Accessibility Mode?
It doesn't spy any of the menu items with an error saying :
Unable to spy the element
I had the same problem and fixed it with the following:
Because the window that shows up is a System window, it means it's no longer part of the IE Application Modeller, as it's using a different thread and a different ID.
So you'll need to create a different object specifically for this operation. I created one with
Object Name: IE - Popup Message
Window Title: Message from webpage
Windows Process iexplore
When attaching to it use index of 0, and then you can easily use UI Automation or Acessibility to identify the button you want to press.
But yes, you'll need to use a different object, I'd suggest making this one and every time there's a system popup for IE to identify the different buttons and use this object as a common interface between them.
This needs clear details about right-click behaviour; where is it showing a specific menu item or general right-click option.
In case application-specific option ->
then you can select global mouse click with text as 'right' to select the menu item and then finally using the Arrow keys (Up, Down to move the desired location )

Eclipse External Tool Configuration - separate button on toolbar for a specific configuration

Is it possible to create an External Tool Configuraion for running an external tool and assign it to a separate button on a Toolbar? When I use two different External Tool Configurations, I have to select from dropdown menu and that's not perfect. I use Eclipse Luna.
You have to write your own plugin for this there is no other way.
You can call the external program launch configurations by keyboard.
Assign keyboard short cut key for External Tools.. command as shown here. I assigne Ctrl + `
When you press this key then below dialog will popup.
Type the name of external configuration to filter, when your configuration is selected in the tree then press Enter twice to launch the program.
Other way
Click on dropdown button of the Run external tool button then you will get the below menu.
You can press the corresponding number assigned to each launch configuration. In the picture shown above when you press 3 then tmp will be called.
If you are using RAD, there exists a separate button in the toolbar for external tools.

Ionic side menu template: modal login form not working

I grabbed the Ionic side menu starter template from Github. I created a fresh project in IntelXDK and copied the side menu code in. The app is working. The side menus look and works fine. It runs fine except for the Login menu. The modal shows, you can see the two form fields, but then nothing happens from there. You cannot click in either input field. You cannot click the submit button. You cannot click any menu button either. It appears to freeze.
This is just the default template code. Nothing else. I'm running in the IntelXDK emulator and/or my connected Android phone, same behavior on both.
What's happening? :-/

Adding menu listener for Paste option in SWT Browser

I have a org.eclipse.swt.browser.Browser instance created in a composite. I would like to know when some content is pasted in the browser using the (platform specific) right click context menu and selecting the paste option.
In the menuDetected() of MenuDetectListener, I get a notification when the context menu is detected in the browser.
How can I know if the Paste option is selected from the context menu?
Regards,
Noopur
No you can't access the selected context menu item. There is no direct provision for that. At least not in eclipse 3.7. Although, you could try different combinations of events for determining the menu item. For example, in windows the internet explorer populates the status bar with 'inserts the clipboard...' when your mouse pointer hovers over the Paste menu item, you can capture this using StatusTextListener event.
Note: The hack is not an elegant solution, even if you get it working, there is still some possibility that it may break with new or older releases of SWT or in fact its behavior may vary with operating systems !!

How to create default debug and run configuration in Eclipse?

Whenever I hit Debug or Run in Eclipse, I get a dialog asking me what configuration I want to use.
How do I set a default configuration and bind a keyboard shortcut?
Maybe this article from Eclipse One Tips will help you:
How to run the last launched application
The answer lies in a preference hidden on the Run/Debug page:
Go to Window > Preferences > Run/Debug > Launching.
Select the option Always launch the previously launched application. It’s located at the bottom of the dialog.
The preference should look something like this:
Now you’re free to press
F11, Ctrl+F11 or click the Run/Debug
icons on the toolbar with confidence, knowing it’s going to run what
you expect it to run.
One question arises: How do you quickly run a class as a specific
application (eg. a JUnit test) if you can’t press F11 to
run it? You have some options available:
The fastest way is to use keyboard shortcuts. Eclipse allows you to launch classes using a keystroke, including JUnit tests, Java
applications, etc using Alt+Shift+X.
Alternatively, right-click on the class and select Run As. The submenu will show available options for launching the class.
Lastly, you could click the pulldown arrow on the run/debug icons in the toolbar and select Run As. The submenu once again shows
available options for launching the class.
Eclipse plug-ins that add new project types may contribute 'Launch Configurations' to control how Eclipse executes the application. For example, J2EE based projects need to publish content and start the application server. Contrast this with simply starting a JVM for a regular Java application.
When you select a configuration, Eclipse records this for future use. You can access these by selecting the 'Run/Run Configurations' menu item or selecting 'Run Configurations' from the little drop down menu next to the run and debug toolbar buttons. You can also add new launch configurations through the Run/Debug Configurations dialog that opens. In this dialog, you should see one or more configurations that you previously launched. Selecting one reveals all the info Eclipse uses to launch your application. One tab called 'Common' contains options for controlling the your favorites menu. Checking the box next to Run or Debug will add this launch configuration to the top of its corresponding menu.
If you only have a single configuration in your menu then Eclipse will launch it when you click the associated button. If you have more than one then Eclipse launches (sometimes) the most recently used. I say sometimes because, occasionally, one launch configuration causes another to launch, which cause the last used configuration to be the second one when you would expect it to be the first one. Usually this happens to me when I launch an application, which needs to be built and the build launches a tool. When this happens, just select the correct launch configuration from the drop down menu.
You can bind a keystroke combination to the Run and Debug commands through the 'Windows/Preferences' menu item. Then select 'General/Keys' in the tree control on the left.