Insert on whole number in datadriver
Hi, i have one datadriver, the value in my table is an whole number (5).
But my textbox is in decimal number (0,00).
When my test complete execute the script, the insert value in my textbox is 0,05.
I want to insert the number that is in my datadriver (5).
When i fix it?
When i manually execute an double click in the textbox and insert the number 5, it's ok, the number continues in whole number. But the test complete don't execute the same test.
This is my actual script:
function SetValue(DadosValorGrupoPessoa)
{
var txtBoxValueGroupPerson= Properties["GetTxtBoxValueGroupPerson"]();
txtBoxValueGroupPerson["DblClick"]();
txtBoxValueGroupPerson["Keys"](DadosValorGrupoPessoa);
}
///////////////////////////////////////////////////////////////////////////////////////////////////
function GetColDadosRendaGrupoPessoa(driver)
{
return (VarToStr(driver["Value"](GetIndiceColDadosGrupoPessoaCommerceFood("RENDA"))));
}
/////////////////////////////////////////////////////////////////////////////////////////////////
function GetIndiceColDadosGrupoPessoaCommerceFood(coluna)
{
switch(coluna)
{
case "RENDA": return 6;
break;