All Downloads are FREE. Search and download functionalities are using the official Maven repository.

testlibrary.context.commands.xml Maven / Gradle / Ivy




	
		
			Gets a list from context and adds its elements to another list stored in the context
		
		
			Name of the list in the context to which addlist's elements are added
			Name of the list in the context whose elements will be added to tolist
		
		
			The index of the tolist at which the elements of the addlist should get added (default: size of tolist)
		
		
			The list with all of the elements in it. The name will be the value of tolist
		
	
	
		
			Gets an object from context and adds that object into a list in the context
		
		
			Name of list in context to which object will get added
			Name of the object in context to add to list
		
		
			The index of the list at which object should get added (default: size of list)
		
		
			The list with the object in it. The name will be the value of list
		
	
	
		
			Gets an object from context and puts it into a map in context
		
		
			Name of map in context
			Name of the object in context to put into map
			The key to use for the object's new map entry
		
		
			The map with the object put in it. The name will be the value of map
		
	
	
		
			Removes an object from context by replacing it with null
		
		
			Name of the object in context to remove
		
		
			Null value stored as the value of object in the context
		
	
	
		
			Gets an object at a specified index from a list in context and stores that object into context
		
		
			Name of list in context to get object from
			Name of context key for which the object will get stored
		
		
			The index of the list to get (default: size of list)
		
		
			The object pulled from the list will get pushed into the context with the name as the value of objectKey
		
	
	
		
			Gets an object from a map in context and stores that object into context
		
		
			Name of map in context to get object from
			Name of context key for which the object will get stored
			The key of the object to grab in the map
		
		
			The object pulled from the map is pushed to the context with its name as objectKey
		
	
	
		
			Gets an object from context and stores that object into another attribute
		
		
			Context key from which to get the object
			Context key to which the object should be stored
		
		
			Stores the object into the storeKey specified above
		
	
	
		
			Gets an object from context and restores that object into context with its .toString() value
		
		
			Name of the key whose object will be restored in the context as a String
		
		
			The String value of the object will be restored for the key
		
	
	
		Verifies an object in context against another according to the expected object's type (ie: if map, then compare size and all keys/values)
		
			Context key of the actual object to compare
			Context key of the expected object to compare
		
		
			The display name of the object being verified (for error reporting purposes)
			True by default. When the actual object does not equal the expected object, an AssertionFailedError will be thrown
		
		
			A list of error messages received when trying to compare equality of actual and expected
		
	
	
		
			Stores a default value into context unless the object already exists in context
		
		
			Key to store the default object if not yet stored in the context
		
		
		    If specified, the object in the context pulled with this value as its key will become the default value
		    The default value to use if no defaultKey specified. Note that this can be any sort of variable in the test script with name='default' (string, list, map, integer, etc.)
		
		
			Stores it into the object name specified above
		
	
	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy