Difference between revisions of "GXtest Designer FAQs"

From GXtest Wiki
Jump to: navigation, search
Line 13: Line 13:
  
 
== Variables ==
 
== Variables ==
;¿Las variables son case-sensitive?:
+
;Are the variables case-sensitive?:
:No, es lo mismo utilizar una variable &NumFactura que &numfactura
+
:No, it is the same to use the variable &NumFactura as &numfactura
  
;¿Existen variables "reservadas"?:
+
;Are there any "reserved" variable names?
:Si, la variable &URLHome tiene como valor la URL principal de proyecto por defecto, por lo que, si creamos un comando Go(&URLHome) nos llevará a la url principal. Esta variable es también configurable en GXtest Manager, para ejecutar las mismas pruebas en distintos ambientes.
+
:Yes, the &URLHome variable holds the default home URL of the project. Also the variable &_ResultCC is reserved by GXtest, and it is used to hold the result value of a executed Custom Command. All this variables are defined in GXtest and can be used in the Test Cases.
 
+
== Results ==
+
;¿Puedo visualizar los resultados exportados a XML en el Designer? ¿Puedo almacenar y navegar en alguna forma los resultados de ejecuciones previas?:
+
:GXtest Designer tiene el objetivo de preparar las pruebas a ejecutar, y no de ejecutarlas. O sea, da la posibilidad de ejecutarlas y de visualizar resultados sólo con el propósito de asegurarte que las pruebas que se están armando funcionan correctamente. No es la idea el almacenar esos resultados.
+
:Para esto existe el GXtest Manager, que es el que administra el repositorio de pruebas y permite agrupar los Test Cases en Test Suites y agendarlos para ejecutar. Los resultados de estas ejecuciones quedan almacenados en la base de datos y pueden ser navegados desde este componente.
+

Revision as of 22:29, 5 December 2013

Spanish.gif
English.gif
link= {{{3}}}

Modelling Test Cases

How to make a part of the test case repeat many times?
You can modularize the section you want to repeat many times into a separated test case. Then, you can include it and set the properties of the included test case, where you can set the number of times you want to repeat this part. You can set a fixed value, or a value taken from a Datapool. For instance, if we are modelling "Add Country" and we want to execute "add Cities" within it a different number of times acording to each country, we could have a column in the countries datapool indicating the number of cities to add to this country.
How to execute commands in grids within grids?

Better you take a look to this article Inputs in Grids within Grids.

Variables

Are the variables case-sensitive?
No, it is the same to use the variable &NumFactura as &numfactura
Are there any "reserved" variable names?
Yes, the &URLHome variable holds the default home URL of the project. Also the variable &_ResultCC is reserved by GXtest, and it is used to hold the result value of a executed Custom Command. All this variables are defined in GXtest and can be used in the Test Cases.