Can you tell me how to get the value of width from below html div class=progress part=progress style=width:70px.. I can't able to retrieve the style value using attr command. Note: width value is keep on changing
@qavbox
11 ай бұрын
Can you try using webelement.getCssValue("width") instead of getattribute method.
@Gardeningwithmayu
11 ай бұрын
@@qavboxgetCssValue is not a function error throwing. Fyi- i am testing in cypress
@crnamamba3205
2 жыл бұрын
How can we check if we have an input like confirm, and we need to check the message in alert. It should be like: "Hello" + (inputText)+ " , are you sure you want to confirm?".
How can we store in a variable and use it for comparison ?
@rohansharma9930
2 жыл бұрын
Hii can you please let me know how can I print the value of a textbox (If we don't know what is the value is written it may be anything so can we get the value at log ??) please reply
@qavbox
2 жыл бұрын
You can refer github.com/sunilpatro1985/Cypress_TypeScript/blob/main/cypress/support/commands.js#L54
@radhakrishna7192
2 жыл бұрын
though I used the same code, I am not getting texbox value
Пікірлер: 13