Get the Current page url
take out the portion of url you want to remain
and then append your desired url portion in it.
I have tried to do this in form browser itself, see the code below
take out the portion of url you want to remain
and then append your desired url portion in it.
I have tried to do this in form browser itself, see the code below
Code:
sPageUrl = Browser("Deleting portion of URL").Page("Deleting portion of URL").GetROProperty("url")
sMainUrl = Mid(sPageUrl,1,instrrev(sPageUrl,"/"))
sMainUrl = sMainUrl & "storing-data-in-excel-sheet-t-2828.html"
Browser("Deleting portion of URL").Navigate sMainUrl