copy popup message

Obtain the message in a popup and store it in a variable.

Important: 
This action is dedicated to Generic WebDriver.

NameDescriptionTypeModifier
variable

The argument is used to hold the message displayed in the popup.

StringNone
timeout

Maximum time (in seconds) to wait for the message in the popup to be obtained.

StringNone
The content of the message displayed in the popup.
This action may be used within the following project items: test modules and user-defined actions.
You are testing a registration page.
  1. When the test leaves one or two some mandatory fields blank and clicks the Submit button, a popup appears to show the missing required fields, for instance, “The email address is required”.
  2. In the popup, the test will obtain the message and clicks the OK button.
                                
                                    	window	control	click type
click	news page	submit	left
&nbsp			
	variable	timeout	
copy popup message	>>msg	5	
&nbsp			
	button	timeout	
click popup	OK	3	
                                
                            
  • copy popup message does not include the click popup action. Hence you ought to explicitly call the click popup action following copy popup message.

Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333