Code: Select all
<label id="formId:tescilliAracIslemComponent:tescilliAracIslemAracSorgula:j_idt167" class="ui-outputlabel ui-widget">Vehicle Query</label>
but there is a constantly changing form id number.
label id = "formId:tescilliAracIslemComponent:tescilliAracIslemAracSorgula:j_idt167"
j_idt167 section changes every day. "j_idt169" or "j_idt180" in the day .... there is a constantly changing code. so every day I have to change the codes manually by logging in ..
can you get the most current version of this code when you load the page from your page?
I want to automatically get the variable we mentioned when loading the page, in the code I use myself. page is loading
"formId:tescilliAracIslemComponent:tescilliAracIslemAracSorgula:j_idt???"
and fetch the most current state in the code.
I can give hope.
Thank you for your help.
note : I have to manually fix the InnerText because it changes continuously throughout the day.
so when the page loads, I want to get the related code innertext and place the corresponding part in my code.
Code: Select all
loaded := false
While !loaded
{
try
{
if (pwb.document.getElementById("formId:tescilliAracIslemComponent:tescilliAracIslemAracSorgula:j_idt167").innertext = "Vehicle Query")
loaded := true
}
Sleep 10
}